aboutsummaryrefslogtreecommitdiffstats
path: root/community/fbida
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2017-04-09 12:31:39 +0200
committerSören Tempel <soeren+git@soeren-tempel.net>2017-04-09 12:32:02 +0200
commit745ddd39dcb00ad3e72e68cc883db3f470f32ef6 (patch)
tree649a25a122eba9d10dbd49a379dd6fc4e5634b61 /community/fbida
parent5d3f9414af05e8a80ebbc57f6fcc2ee22b6daae1 (diff)
downloadaports-745ddd39dcb00ad3e72e68cc883db3f470f32ef6.tar.bz2
aports-745ddd39dcb00ad3e72e68cc883db3f470f32ef6.tar.xz
community/fbida: upgrade to 2.13, modernize APKBUILD
Diffstat (limited to 'community/fbida')
-rw-r--r--community/fbida/APKBUILD24
1 files changed, 9 insertions, 15 deletions
diff --git a/community/fbida/APKBUILD b/community/fbida/APKBUILD
index a16103fe6d..3e16f29552 100644
--- a/community/fbida/APKBUILD
+++ b/community/fbida/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=fbida
-pkgver=2.12
+pkgver=2.13
pkgrel=0
pkgdesc="Few applications to display and elementary edit images"
url="http://www.kraxel.org/blog/linux/$pkgname/"
@@ -9,25 +9,23 @@ arch="all"
license="GPL2"
depends=""
depends_dev=""
-makedepends="
- freetype-dev fontconfig-dev libdrm-dev libexif-dev motif-dev libepoxy-dev
- libpng-dev tiff-dev giflib-dev jpeg-dev
- linux-headers perl"
+makedepends="freetype-dev fontconfig-dev libdrm-dev libexif-dev
+ motif-dev libepoxy-dev libpng-dev tiff-dev giflib-dev
+ jpeg-dev linux-headers perl"
install=""
subpackages="$pkgname-fbgs:_tool $pkgname-exiftran:_tool
$pkgname-fbi:_tool $pkgname-ida:_tool $pkgname-doc"
source="https://www.kraxel.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz
no-pdf.patch"
-
builddir="$srcdir"/$pkgname-$pkgver
build() {
- make verbose=yes -C "$builddir" || return 1
+ make verbose=yes -C "$builddir"
}
package() {
make DESTDIR="$pkgdir" RESDIR="/etc/X11/app-defaults/$pkgname" \
- prefix=/usr -C "$builddir" install || return 1
+ prefix=/usr -C "$builddir" install
}
_tool() {
@@ -41,19 +39,15 @@ _tool() {
mkdir -p "$subpkgdir"/usr/bin
mv "$pkgdir"/usr/bin/$name \
- "$subpkgdir"/usr/bin/$name || return 1
+ "$subpkgdir"/usr/bin/$name
if [ "$name" = "ida" ]; then
- mv "$pkgdir"/etc/ "$subpkgdir"/etc/ || return 1
+ mv "$pkgdir"/etc/ "$subpkgdir"/etc/
fi
rmdir "$pkgdir"/usr/bin/ 2>/dev/null || true
rmdir "$pkgdir"/usr/ 2>/dev/null || true
}
-md5sums="f5f3fdaca387f267ddc8a05365113448 fbida-2.12.tar.gz
-ac0a18b5b31636a0c15c2e6b076e44fa no-pdf.patch"
-sha256sums="d33193105cce77057c919761728cee9bbe8ec8ec4f12a770a600cab33611822f fbida-2.12.tar.gz
-3fefc30df317ebf54a6d2c14bee2a1bdc05d002a45d88b7842748d8af071a0eb no-pdf.patch"
-sha512sums="383eb766a98137f7252cd981d0e8c9a7382223705a43332f50990ea26763d4882ed1585e72fe9199528502d7f8f9de2e90718dbce71ee08d2181c74aa3e7e515 fbida-2.12.tar.gz
+sha512sums="a316776f381fac6ec6a5d085ece7a42e8e34b2c0f5ae1cc58ad5b5736dc83d8f2e7776779716abfc0ae9c51baacdf911df6a0be610d2b7b2e3ce6d0c81e1fdc3 fbida-2.13.tar.gz
574b3a2d9e184e3cb2f5534b0367fe5926cc1541b4a19d64a1ed8deb2b2a66ca91c33ded61b202b921ed5e7216a0defc8af089090c3a39c99c5b525acb704ab9 no-pdf.patch"