diff options
-rw-r--r-- | testing/2bwm/APKBUILD | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/testing/2bwm/APKBUILD b/testing/2bwm/APKBUILD index e72e83879f..fe8c9d0535 100644 --- a/testing/2bwm/APKBUILD +++ b/testing/2bwm/APKBUILD @@ -1,29 +1,28 @@ # Contributor: dai9ah <dai9ah@protonmail.com> # Maintainer: dai9ah <dai9ah@protonmail.com> pkgname=2bwm -pkgver=0.2 +pkgver=0.3 pkgrel=0 pkgdesc="Fast floating window manager" url="https://github.com/venam/2bwm" arch="all" license="ISC" makedepends="libxcb-dev xcb-util-keysyms-dev xcb-util-wm-dev xcb-util-xrm-dev" -options="!check" # no test suite or working check function +options="!check" # no test suite subpackages="$pkgname-doc" -source="$pkgname-$pkgver.tar.gz::https://github.com/venam/$pkgname/archive/v$pkgver.tar.gz" -builddir="$srcdir/$pkgname-$pkgver" +source="$pkgname-$pkgver.tar.gz::https://github.com/venam/2bwm/archive/v$pkgver.tar.gz" prepare() { - sed -i "$builddir"/Makefile \ - -e '/CFLAGS/{s/+=-Os/ +=/}' + default_prepare + sed -i Makefile -e "/CFLAGS/{s/+=-Os /+=/}" } build() { - make -C "$builddir" + make } package() { - make PREFIX=/usr DESTDIR="$pkgdir" -C "$builddir" install + make PREFIX=/usr DESTDIR="$pkgdir" install } -sha512sums="e2a9c6bd41818b79bcf5b1e9fa789d829921c1cee9351783f8b3a20a7efc4641fb8a6bd04485c97895a8161737d02efe55014781d29e89b9e84fcf1e0aef2c2e 2bwm-0.2.tar.gz" +sha512sums="088a97e5245287890c72e2b0685f7348a4cc0fd49582893b7ce7a081f80a4d7454a3c0eadf4609589314351ded02fd8b75548019b782e797350ad5db5c939f92 2bwm-0.3.tar.gz" |