aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ghex/APKBUILD
diff options
context:
space:
mode:
authorAmatCoder <amatcoder@gmail.com>2016-05-25 07:59:16 +0000
committerJakub Jirutka <jakub@jirutka.cz>2016-06-01 22:51:06 +0200
commit47965ae2ce56b9b6527c37d97b27494faee9d419 (patch)
tree96770d0749b92ffe3200a4777d76d24be4306203 /testing/ghex/APKBUILD
parent5eae74a864990d038db144b175ec98414df3958c (diff)
downloadaports-47965ae2ce56b9b6527c37d97b27494faee9d419.tar.bz2
aports-47965ae2ce56b9b6527c37d97b27494faee9d419.tar.xz
testing/ghex: upgrade to 3.18.1
Diffstat (limited to 'testing/ghex/APKBUILD')
-rw-r--r--testing/ghex/APKBUILD28
1 files changed, 10 insertions, 18 deletions
diff --git a/testing/ghex/APKBUILD b/testing/ghex/APKBUILD
index 4d45c29932..d60ce7141b 100644
--- a/testing/ghex/APKBUILD
+++ b/testing/ghex/APKBUILD
@@ -1,7 +1,8 @@
# Contributor: August Klein <amatcoder@gmail.com>
# Maintainer: August Klein <amatcoder@gmail.com>
pkgname=ghex
-pkgver=3.10.1
+pkgver=3.18.1
+_pkgver=${pkgver%.*}
pkgrel=0
pkgdesc="A hex editor for GNOME"
url="https://wiki.gnome.org/Apps/Ghex"
@@ -9,24 +10,15 @@ arch="all"
license="GPL"
depends="dconf"
depends_dev="gtk+3.0-dev"
-makedepends="$depends_dev itstool"
+makedepends="$depends_dev itstool libxml2-utils"
install=""
subpackages="$pkgname-dev $pkgname-lang $pkgname-doc"
-source="http://ftp.gnome.org/pub/GNOME/sources/ghex/3.10/$pkgname-$pkgver.tar.xz"
+source="http://ftp.gnome.org/pub/GNOME/sources/ghex/$_pkgver/$pkgname-$pkgver.tar.xz"
-_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 \
@@ -37,10 +29,10 @@ build() {
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" DATADIRNAME=share install || return 1
}
-md5sums="bcd5af85a8e127da29257c9ca6aad5ee ghex-3.10.1.tar.xz"
-sha256sums="34b66cb5c84410c420df72f229d25aee5979e58048a246ed719b046f0c241132 ghex-3.10.1.tar.xz"
-sha512sums="bfb7f4af1c36698571ea176fd4bbba2ea11a337a8e02976da6b784bd5cc634a4b853e36918ebaeea382d680e796343838ce4709ac720da86755628894043c28c ghex-3.10.1.tar.xz"
+md5sums="d7b51a7554b685719d40a3ba5a14f5f9 ghex-3.18.1.tar.xz"
+sha256sums="a0aacbc18bf89b3ad1ff96e108d94ed1fc8ba517689f847207be7749606b084b ghex-3.18.1.tar.xz"
+sha512sums="165a97b5b0da2dcbd0b4b4f811a5c28f64d5e25be2a1b976687d83eec73cf6728686e024c69e3517cf187aeaf656cfce9bebf98e564e2b0147d2438845d2c235 ghex-3.18.1.tar.xz"