Skip to content

Commit

Permalink
testing/maim: modernize
Browse files Browse the repository at this point in the history
Closes: GH-7935
  • Loading branch information
maxice8 authored and TBK committed May 23, 2019
1 parent a6d21ce commit 2edaf90
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions testing/maim/APKBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,8 @@ makedepends="
slop-dev"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/naelstrof/maim/archive/v${pkgver}.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
cd "$builddir"
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
Expand All @@ -37,7 +35,6 @@ build() {
}

package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}

Expand Down

0 comments on commit 2edaf90

Please sign in to comment.