diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-05-09 03:51:15 -0300 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2019-05-28 13:36:03 +0000 |
commit | 58729186c26e6db0cdf0f2dce463e5c5821a6afc (patch) | |
tree | 29520c3a4670ae6b4a935b75131434894e7c651c /main/libiptcdata | |
parent | 72ae5abfd1884d363610976df1058ae7666854e7 (diff) | |
download | aports-58729186c26e6db0cdf0f2dce463e5c5821a6afc.tar.bz2 aports-58729186c26e6db0cdf0f2dce463e5c5821a6afc.tar.xz |
main/libiptcdata: upgrade to 1.0.5
Diffstat (limited to 'main/libiptcdata')
-rw-r--r-- | main/libiptcdata/APKBUILD | 43 |
1 files changed, 11 insertions, 32 deletions
diff --git a/main/libiptcdata/APKBUILD b/main/libiptcdata/APKBUILD index af0633d454..e5ce9f55ec 100644 --- a/main/libiptcdata/APKBUILD +++ b/main/libiptcdata/APKBUILD @@ -1,47 +1,26 @@ # Contributor: ScrumpyJack <scrumpyjack@st.ilet.to> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=libiptcdata -pkgver=1.0.4 -pkgrel=2 +pkgver=1.0.5 +_relver=1_0_5 +pkgrel=0 pkgdesc="libiptcdata is a C library for manipulating IPTC metadata within multimedia" -url="http://libiptcdata.sourceforge.net/" +url="https://github.com/ianw/libiptcdata" arch="all" -license="LGPL" -depends="" -depends_dev="" -makedepends="" -install="" +license="LGPL-2.0-or-later" subpackages="$pkgname-dev $pkgname-doc" -source="https://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz" - -_builddir=${srcdir}/${pkgname}-${pkgver} -prepare() { - local i - cd "$_builddir" - update_config_sub || return 1 - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - } - +source="https://github.com/ianw/$pkgname/releases/download/release_$_relver/$pkgname-$pkgver.tar.gz" build() { - cd "$_builddir" - ./configure \ + ./configure \ --build=$CBUILD \ --host=$CHOST \ - --prefix=/usr \ - || return 1 - make || return 1 + --prefix=/usr + make } package() { - cd "$_builddir" - make DESTDIR="$pkgdir/" install + make DESTDIR="$pkgdir/" install } -md5sums="af886556ecb129b694f2d365d03d95a8 libiptcdata-1.0.4.tar.gz" -sha256sums="79f63b8ce71ee45cefd34efbb66e39a22101443f4060809b8fc29c5eebdcee0e libiptcdata-1.0.4.tar.gz" -sha512sums="8656b2febaec133d1a8783252047672bebd58ae9ceab5477c4acfa35bcc381dfda08b655a957b962878af28c69deff77d920e780c84b4debdff2f980b3de94e8 libiptcdata-1.0.4.tar.gz" +sha512sums="64ef44b1e639890004f31d5d42844ba25ed558f0a118f1dad9bc3f4dcad2457e51b825a13df849659b0e15afc78f528f330b03be94cdf156bd95b62dc419494a libiptcdata-1.0.5.tar.gz" |