From a278c3e05013fa3366554af5dee719a0ba90d798 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Wed, 1 Jan 2020 20:44:18 +0000 Subject: user/*: Modernise / fix syntax / deps --- user/libgphoto2/APKBUILD | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'user/libgphoto2') diff --git a/user/libgphoto2/APKBUILD b/user/libgphoto2/APKBUILD index c1250aabb..aee8693b1 100644 --- a/user/libgphoto2/APKBUILD +++ b/user/libgphoto2/APKBUILD @@ -10,13 +10,11 @@ license="LGPL-2.1+" depends="" depends_dev="libexif-dev libusb-dev" makedepends="$depends_dev libjpeg-turbo-dev libtool" -subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" install="$pkgname.pre-install $pkgname.pre-upgrade" -replaces="libgphoto2-dev" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" source="https://downloads.sourceforge.net/gphoto/libgphoto2-$pkgver.tar.bz2" build() { - cd "$builddir" udevscriptdir=/lib/udev ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -28,12 +26,10 @@ build() { } check() { - cd "$builddir" make check } package() { - cd "$builddir" make DESTDIR="$pkgdir" install rm -f "$pkgdir"/usr/lib/libgphoto2/*/*.a \ "$pkgdir"/usr/lib/*.a -- cgit v1.2.3-70-g09d2