Skip to content

Commit

Permalink
testing/slop: 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 fa8596a commit a6d21ce
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions testing/slop/APKBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,8 @@ makedepends="
libxrender-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/naelstrof/slop/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 @@ -33,7 +31,6 @@ build() {
}

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

Expand Down

0 comments on commit a6d21ce

Please sign in to comment.