diff options
Diffstat (limited to 'community')
-rw-r--r-- | community/duo_unix/APKBUILD | 24 |
1 files changed, 6 insertions, 18 deletions
diff --git a/community/duo_unix/APKBUILD b/community/duo_unix/APKBUILD index 82434fcbae..3be181684b 100644 --- a/community/duo_unix/APKBUILD +++ b/community/duo_unix/APKBUILD @@ -10,39 +10,27 @@ license="GPL2" depends="" depends_dev="libressl-dev zlib-dev" makedepends="$depends_dev" -install="" options="suid" subpackages="$pkgname-dev $pkgname-doc" source="https://dl.duosecurity.com/$pkgname-$pkgver.tar.gz libressl.patch" -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - +builddir="$srcdir"/$pkgname-$pkgver build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc/duo \ --mandir=/usr/share/man \ - --localstatedir=/var \ - || return 1 - make || return 1 + --localstatedir=/var + make } package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install } sha512sums="8caf1b9dea266662d2e221fa120be1989622828ba346f874f77090ed0f91431e250da2cfe335bc9ff0b8a6336a20458851e715342c5f90151cf4514e76b04fa9 duo_unix-1.9.21.tar.gz |