diff options
author | Mike Sullivan <mksully22@gmail.com> | 2019-04-30 14:21:43 +0000 |
---|---|---|
committer | Mike Sullivan <mksully22@gmail.com> | 2019-05-09 14:05:49 +0000 |
commit | b3348657a9d0050427ac36f30567aa91be64b080 (patch) | |
tree | 5235a50ead6602d0482656af28a05b362391978a | |
parent | 15f608869bc1dbb403e5850bb75c7a11f64eb453 (diff) | |
download | aports-b3348657a9d0050427ac36f30567aa91be64b080.tar.bz2 aports-b3348657a9d0050427ac36f30567aa91be64b080.tar.xz |
community/opentracker: fix build break by adding include prefix Reflected feedback from PR comments. Removed Empty variables Changed _builddir to builddir Removed useless prepare function Removed uneccessary || return 1 statements License was not modified. Author of base package is beerware but libowfat is specified ambiguously as GPL
-rw-r--r-- | community/opentracker/APKBUILD | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/community/opentracker/APKBUILD b/community/opentracker/APKBUILD index 5abfabffe7..c6f6e0bf73 100644 --- a/community/opentracker/APKBUILD +++ b/community/opentracker/APKBUILD @@ -1,40 +1,31 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=opentracker pkgver=0_cvs20100625 -pkgrel=4 +pkgrel=5 pkgdesc="an open and free bittorrent tracker" url="http://erdgeist.org/arts/software/opentracker/" arch="all" license="GPL" -depends= makedepends="libowfat-dev zlib-dev" install="$pkgname.pre-install" -subpackages= source="https://dev.alpinelinux.org/opentracker/opentracker-$pkgver.tar.gz opentracker.initd" -_builddir="$srcdir"/$pkgname -prepare() { - cd "$_builddir" -} +builddir="$srcdir"/$pkgname build() { - cd "$_builddir" - make || return 1 + cd "$builddir" + PREFIX=/usr/include make } package() { - cd "$_builddir" + cd "$builddir" install -d "$pkgdir"/usr/bin - make BINDIR="$pkgdir"/usr/bin install || return 1 + make BINDIR="$pkgdir"/usr/bin install install -m644 -D opentracker.conf.sample \ "$pkgdir"/etc/opentracker/opentracker.conf install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname } -md5sums="8d02a6f7a241c6b8c98e2dbde086cfcf opentracker-0_cvs20100625.tar.gz -bb3cfa7597cd86e2987aafb4081c6d78 opentracker.initd" -sha256sums="c2be547353c55be95f7b29a1efd551d44ebbe7f7bc9835a29cf742ea2c21199e opentracker-0_cvs20100625.tar.gz -9058d2df337dc9259cd92e99350889dddcd86f14b3ced8577f69a348339bd15c opentracker.initd" sha512sums="85686782d8f4469b3bbcd67851b86bb43fc258b6f347a695cef83b2d1354880eaeca475b85cce475646cec5e118a5dd3cb27c664166d0f5a8158a8662f633f01 opentracker-0_cvs20100625.tar.gz 80ae2f4f5a485df7e3dab982068f3b79457721fd87e00e6a3450003f1a7685ade3e0edd4ab341a822abd51f002d3a8f7b897b38e76ac360fd6a0551c91a56d77 opentracker.initd" |