summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorNarrat2015-08-08 13:34:45 +0200
committerNarrat2015-08-09 12:22:47 +0200
commit015cc5fc80baea15ebd29ed2444f4c63ddc76352 (patch)
tree19d2827f6eb986a52fc21f5bc46cb58fdf5ee995
downloadaur-015cc5fc80baea15ebd29ed2444f4c63ddc76352.tar.gz
Adopted AUR3 package
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD30
2 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..29008c6eb49
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = daala-git
+ pkgdesc = Daala is next-next-gen video compression technology from Xiph.org, Mozilla and others.
+ pkgver = 556.f79a2f0
+ pkgrel = 2
+ url = https://www.xiph.org/daala/
+ arch = i686
+ arch = x86_64
+ license = BSD
+ makedepends = git
+ makedepends = check
+ depends = libogg
+ depends = libpng
+ provides = libdaala
+ conflicts = libdaala
+ options = !libtool
+ source = git://git.xiph.org/daala.git
+ md5sums = SKIP
+
+pkgname = daala-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..19964b72549
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+_gitname=daala
+#pkgname=libdaala-git # Former AUR3 name
+pkgname=${_gitname}-git
+pkgver=556.f79a2f0
+pkgver() { cd $_gitname && echo $(git rev-list --count master).$(git rev-parse --short master); }
+pkgrel=2
+pkgdesc="Daala is next-next-gen video compression technology from Xiph.org, Mozilla and others."
+arch=('i686' 'x86_64')
+url="https://www.xiph.org/daala/"
+license=('BSD')
+depends=('libogg' 'libpng')
+makedepends=('git' 'check')
+provides=('libdaala')
+conflicts=('libdaala')
+options=('!libtool')
+source=('git://git.xiph.org/daala.git')
+md5sums=('SKIP')
+
+build() {
+ cd $_gitname
+ ./autogen.sh
+ ./configure --prefix=/usr --libdir=/usr/lib
+ make
+}
+
+package() {
+ cd $_gitname
+ make DESTDIR="$pkgdir/" install
+ install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}