diff options
Diffstat (limited to 'community/picocom/APKBUILD')
-rw-r--r-- | community/picocom/APKBUILD | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/community/picocom/APKBUILD b/community/picocom/APKBUILD index 6c21848b81..9d04cca36f 100644 --- a/community/picocom/APKBUILD +++ b/community/picocom/APKBUILD @@ -10,25 +10,26 @@ license="GPL2" depends="" makedepends="" install="" +options="!check" # upstream doesn't have a test suite. subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/npat-efault/${pkgname}/archive/${pkgver}.tar.gz" - builddir="$srcdir"/$pkgname-$pkgver + build() { make CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \ - -C "$builddir" || return 1 + -C "$builddir" } package() { install -Dm755 "$builddir"/$pkgname \ - "$pkgdir"/usr/bin/$pkgname || return 1 + "$pkgdir"/usr/bin/$pkgname install -Dm644 "$builddir"/$pkgname.1 \ - "$pkgdir"/usr/share/man/man1/$pkgname.1 || return 1 + "$pkgdir"/usr/share/man/man1/$pkgname.1 local file= for file in CONTRIBUTORS README.md TODO lowerrts.md; do install -Dm644 "$builddir"/$file \ - "$pkgdir"/usr/share/doc/$pkgname/$file || return 1 + "$pkgdir"/usr/share/doc/$pkgname/$file done } |