summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Rodas2016-01-02 12:16:03 -0500
committerMario Rodas2017-05-07 13:07:42 -0500
commit55049bf58e5f13fbce74f86dfb8a8879eabb088c (patch)
treea5cc499b7bbb8aaf08c3494903aacc8f3daba37f
parentc614d9998bbea4760b56d20c7b2f6b007d95d87b (diff)
downloadaur-55049bf58e5f13fbce74f86dfb8a8879eabb088c.tar.gz
Update PKGBUILD
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD12
2 files changed, 10 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 14b6c81817d..9e759ef2e5f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,14 @@
+# Generated by mksrcinfo v8
+# Sun May 7 18:05:17 UTC 2017
pkgbase = libunicap
pkgdesc = Provides a uniform API for all kinds of video capture devices
pkgver = 0.9.12
- pkgrel = 2
+ pkgrel = 3
url = http://unicap-imaging.org
arch = i686
arch = x86_64
license = GPL
- makedepends = pkgconfig intltool
+ makedepends = intltool
depends = libraw1394
provides = unicap
conflicts = unicap
diff --git a/PKGBUILD b/PKGBUILD
index 5e80ecc2e79..f1545a65c0d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@
pkgname=libunicap
pkgver=0.9.12
-pkgrel=2
+pkgrel=3
pkgdesc="Provides a uniform API for all kinds of video capture devices"
arch=('i686' 'x86_64')
conflicts=('unicap')
@@ -15,22 +15,22 @@ url="http://unicap-imaging.org"
options=('!libtool')
license=('GPL')
depends=('libraw1394')
-makedepends=('pkgconfig intltool')
+makedepends=('intltool')
source=("http://unicap-imaging.org/downloads/$pkgname-$pkgver.tar.gz" 'libunicap-0.9.12.patch')
md5sums=('353657b4da519251d4cc6dee5a232391' '7295cf7c8e8604c46f3b187d46c6920b')
prepare() {
cd $srcdir/$pkgname-$pkgver
- patch -p1 < $startdir/$pkgname-$pkgver.patch
+ patch -p1 < ../$pkgname-$pkgver.patch
}
build() {
cd $srcdir/$pkgname-$pkgver
- ./configure --prefix=/usr --enable-vid21394-visca || return 1
- make || return 1
+ ./configure --prefix=/usr --enable-vid21394-visca
+ make
}
package() {
cd $srcdir/$pkgname-$pkgver
- make DESTDIR=$pkgdir install || return 1
+ make DESTDIR=$pkgdir install
}