summaryrefslogtreecommitdiff
path: root/user/exiv2/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-12-28 04:16:28 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-12-28 04:16:28 -0600
commitf9e6884719d434a762c185a992bae4d15cafb64d (patch)
tree27b5f85b9ead4621b722d83425b52ffded759304 /user/exiv2/APKBUILD
parent1453ddd8e78f5eede71f072dc60a4537348c09ef (diff)
downloadpackages-f9e6884719d434a762c185a992bae4d15cafb64d.tar.gz
packages-f9e6884719d434a762c185a992bae4d15cafb64d.tar.bz2
packages-f9e6884719d434a762c185a992bae4d15cafb64d.tar.xz
packages-f9e6884719d434a762c185a992bae4d15cafb64d.zip
user/[multimedia libs]: fix syntax and modernise
Diffstat (limited to 'user/exiv2/APKBUILD')
-rw-r--r--user/exiv2/APKBUILD14
1 files changed, 5 insertions, 9 deletions
diff --git a/user/exiv2/APKBUILD b/user/exiv2/APKBUILD
index 82aa2a958..f1ca3f81f 100644
--- a/user/exiv2/APKBUILD
+++ b/user/exiv2/APKBUILD
@@ -8,8 +8,8 @@ arch="all"
license="GPL-2.0+"
depends=""
depends_dev="expat-dev zlib-dev"
-makedepends="$depends_dev bash cmake"
checkdepends="python3 libxml2 cmd:which"
+makedepends="$depends_dev bash cmake"
subpackages="$pkgname-dev $pkgname-doc"
source="http://www.exiv2.org/builds/exiv2-$pkgver-Source.tar.gz
https://dev.sick.bike/dist/exiv2-0.27.2-POC-file_issue_1019
@@ -89,7 +89,6 @@ builddir="$srcdir/$pkgname-$pkgver-Source"
prepare() {
default_prepare
- mkdir build
# Remove #1019 POC after >= 0.27.2
mv "$srcdir/$pkgname-$pkgver-POC-file_issue_1019" \
@@ -97,21 +96,18 @@ prepare() {
}
build() {
- cd "$builddir/build"
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
- -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
- make
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo -Bbuild
+ make -C build
}
check() {
- cd "$builddir/build"
- make tests
+ make -C build tests
}
package() {
- cd "$builddir/build"
- make DESTDIR="$pkgdir" install
+ make DESTDIR="$pkgdir" -C build install
}
sha512sums="39eb7d920dce18b275ac66f4766c7c73f7c72ee10e3e1e43d84c611b24f48ce20a70eac6d53948914e93242a25b8b52cc4bc760ee611ddcd77481306c1f9e721 exiv2-0.27.2-Source.tar.gz