Commit 58729186 authored by Leo's avatar Leo Committed by Francesco Colista

main/libiptcdata: upgrade to 1.0.5

parent 72ae5abf
# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to> # Contributor: ScrumpyJack <scrumpyjack@st.ilet.to>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libiptcdata pkgname=libiptcdata
pkgver=1.0.4 pkgver=1.0.5
pkgrel=2 _relver=1_0_5
pkgrel=0
pkgdesc="libiptcdata is a C library for manipulating IPTC metadata within multimedia" 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" arch="all"
license="LGPL" license="LGPL-2.0-or-later"
depends=""
depends_dev=""
makedepends=""
install=""
subpackages="$pkgname-dev $pkgname-doc" subpackages="$pkgname-dev $pkgname-doc"
source="https://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz" source="https://github.com/ianw/$pkgname/releases/download/release_$_relver/$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
}
build() { build() {
cd "$_builddir" ./configure \
./configure \
--build=$CBUILD \ --build=$CBUILD \
--host=$CHOST \ --host=$CHOST \
--prefix=/usr \ --prefix=/usr
|| return 1 make
make || return 1
} }
package() { package() {
cd "$_builddir" make DESTDIR="$pkgdir/" install
make DESTDIR="$pkgdir/" install
} }
md5sums="af886556ecb129b694f2d365d03d95a8 libiptcdata-1.0.4.tar.gz" sha512sums="64ef44b1e639890004f31d5d42844ba25ed558f0a118f1dad9bc3f4dcad2457e51b825a13df849659b0e15afc78f528f330b03be94cdf156bd95b62dc419494a libiptcdata-1.0.5.tar.gz"
sha256sums="79f63b8ce71ee45cefd34efbb66e39a22101443f4060809b8fc29c5eebdcee0e libiptcdata-1.0.4.tar.gz"
sha512sums="8656b2febaec133d1a8783252047672bebd58ae9ceab5477c4acfa35bcc381dfda08b655a957b962878af28c69deff77d920e780c84b4debdff2f980b3de94e8 libiptcdata-1.0.4.tar.gz"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment