summaryrefslogtreecommitdiffstats
path: root/abs/extra/libmatroska/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/libmatroska/PKGBUILD')
-rw-r--r--abs/extra/libmatroska/PKGBUILD15
1 files changed, 9 insertions, 6 deletions
diff --git a/abs/extra/libmatroska/PKGBUILD b/abs/extra/libmatroska/PKGBUILD
index f515d3e..4a85d50 100644
--- a/abs/extra/libmatroska/PKGBUILD
+++ b/abs/extra/libmatroska/PKGBUILD
@@ -4,17 +4,20 @@
pkgname=libmatroska
pkgver=1.0.0
-pkgrel=1
+pkgrel=2
pkgdesc="Matroska library"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
+license=('LGPL')
url="http://dl.matroska.org/downloads/libmatroska/"
depends=('libebml>=1.0.0')
-#source=(http://www.bunkus.org/videotools/mkvtoolnix/sources/$pkgname-$pkgver.tar.bz2)
-source=($url/$pkgname-$pkgver.tar.bz2)
+source=(${url}/${pkgname}-${pkgver}.tar.bz2)
build() {
- cd $startdir/src/$pkgname-$pkgver/make/linux
+ cd ${srcdir}/${pkgname}-${pkgver}/make/linux
make sharedlib || return 1
- make prefix=$startdir/pkg/usr install
+}
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}/make/linux
+ make prefix=${pkgdir}/usr install
}
md5sums=('4efcf3945b17a6f0320cf1aaa326a4de')