aboutsummaryrefslogtreecommitdiffstats
path: root/main/libraw1394/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/libraw1394/APKBUILD')
-rw-r--r--main/libraw1394/APKBUILD26
1 files changed, 9 insertions, 17 deletions
diff --git a/main/libraw1394/APKBUILD b/main/libraw1394/APKBUILD
index c88a226cbf..27430b0d37 100644
--- a/main/libraw1394/APKBUILD
+++ b/main/libraw1394/APKBUILD
@@ -1,11 +1,11 @@
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=libraw1394
pkgver=2.1.2
-pkgrel=0
+pkgrel=1
pkgdesc="Library to provide access to Linux 1394 subsystem"
url="https://sourceforge.net/projects/libraw1394"
arch="all"
-license="LGPL"
+license="LGPL-2.1+"
depends=
depends_dev=
makedepends="linux-headers"
@@ -15,16 +15,6 @@ source="https://kernel.org/pub/linux/libs/ieee1394/$pkgname-$pkgver.tar.xz"
builddir="$srcdir"/$pkgname-$pkgver
-prepare() {
- 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() {
cd "$builddir"
./configure \
@@ -34,9 +24,13 @@ build() {
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
- --disable-static \
- || return 1
- make || return 1
+ --disable-static
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
}
package() {
@@ -50,6 +44,4 @@ tools() {
mv "$pkgdir"/usr/bin "$subpkgdir"/usr
}
-md5sums="118060584c04f1aa5e29c4d22c1c235a libraw1394-2.1.2.tar.xz"
-sha256sums="03ccc69761d22c7deb1127fc301010dd13e70e44bb7134b8ff0d07590259a55e libraw1394-2.1.2.tar.xz"
sha512sums="1ef38961b747c4ebb18d823a4c38d5bf019f8bd0ac55547838d153b1899b91ae0ff56f5b6732e309d6975b55725d1ce989917ffcf605cf64f7d33624f54f0567 libraw1394-2.1.2.tar.xz"