aboutsummaryrefslogtreecommitdiffstats
path: root/main/xvidcore/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/xvidcore/APKBUILD')
-rw-r--r--main/xvidcore/APKBUILD13
1 files changed, 8 insertions, 5 deletions
diff --git a/main/xvidcore/APKBUILD b/main/xvidcore/APKBUILD
index 64858bf8df..20a071cce4 100644
--- a/main/xvidcore/APKBUILD
+++ b/main/xvidcore/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xvidcore
-pkgver=1.2.1
-pkgrel=1
+pkgver=1.2.2
+pkgrel=0
pkgdesc="XviD is an open source MPEG-4 video codec"
url="http://www.xvid.org/"
license="GPL"
@@ -10,16 +10,19 @@ depends=
makedepends="nasm"
source="http://downloads.xvid.org/downloads/$pkgname-$pkgver.tar.bz2"
-build ()
-{
+build() {
cd "$srcdir"/$pkgname/build/generic
./configure --prefix=/usr \
--disable-assembly
make || return 1
+}
+
+package() {
+ cd "$srcdir"/$pkgname/build/generic
make DESTDIR="$pkgdir" install
cd "$pkgdir"/usr/lib
mylib=$(basename libxvidcore.so.*)
ln -sf ${mylib} libxvidcore.so.4
ln -sf ${mylib} libxvidcore.so
}
-md5sums="8c4470ae8e5a104abedb39f6c70e2a40 xvidcore-1.2.1.tar.bz2"
+md5sums="6a3473a12c8a1fa7bdc2b5cb829fab58 xvidcore-1.2.2.tar.bz2"