mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
44 lines
1.2 KiB
Bash
44 lines
1.2 KiB
Bash
# Maintainer:
|
|
# Contributor: Jan de Groot <jgc@archlinux.org>
|
|
# Contributor: André Klitzing <aklitzing@online.de>
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# - upstream XMP patch to fix arm FTBFS
|
|
|
|
pkgname=exempi
|
|
pkgver=2.6.2
|
|
pkgrel=1
|
|
pkgdesc="A library to parse XMP metadata"
|
|
url="https://libopenraw.freedesktop.org/wiki/Exempi"
|
|
arch=(x86_64)
|
|
license=(custom:BSD)
|
|
depends=(gcc-libs expat zlib)
|
|
makedepends=(boost)
|
|
source=(https://libopenraw.freedesktop.org/download/$pkgname-$pkgver.tar.bz2{,.asc}
|
|
https://patch-diff.githubusercontent.com/raw/adobe/XMP-Toolkit-SDK/pull/57.patch)
|
|
sha256sums=('4d17d4c93df2a95da3e3172c45b7a5bf317dd31dafd1c7a340169728c7089d1d'
|
|
'SKIP'
|
|
'284d04cf4c158018dddc5e46b48833dbffdf0407f834f6417ebeb4ff62e81b54')
|
|
validpgpkeys=('6C44DB3E0BF3EAF5B433239A5FEE05E6A56E15A3') # Hubert Figuiere
|
|
|
|
prepare() {
|
|
cd $pkgname-$pkgver
|
|
patch -p1 -i ../57.patch
|
|
}
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
./configure --prefix=/usr # --disable-static
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd $pkgname-$pkgver
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver
|
|
make DESTDIR="$pkgdir" install
|
|
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
|
}
|