diff options
author | Chocobo1 | 2019-12-08 22:20:00 +0800 |
---|---|---|
committer | Chocobo1 | 2019-12-08 22:31:15 +0800 |
commit | b2760a923bdac24b9418a33dab2caed1698240c8 (patch) | |
tree | c48b7f4c6dc2d7e9f51316fc2001466c7072df27 /PKGBUILD | |
download | aur-b2760a923bdac24b9418a33dab2caed1698240c8.tar.gz |
newpkg: xvidcore-svn r2186-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..4c7dc3efee7b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,43 @@ +# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net> + +pkgname=xvidcore-svn +pkgver=r2186 +pkgrel=1 +pkgdesc="High performance and high quality MPEG-4 video codec" +arch=('i686' 'x86_64') +url="https://www.xvid.com/" +license=('GPL2') +depends=('glibc') +makedepends=('subversion' 'nasm') +provides=('xvidcore') +conflicts=('xvidcore') +options=('staticlibs') +#source=("svn+http://anonymous:@svn.xvid.org/trunk") +#sha256sums=('SKIP') + + +prepare() { + svn checkout http://svn.xvid.org/trunk --username anonymous --password "" +} + +pkgver() { + cd "trunk" + + _ver="$(svnversion)" + printf "r%s" "${_ver//[[:alpha:]]}" +} + +build() { + cd "trunk/xvidcore/build/generic" + + ./bootstrap.sh + ./configure \ + --prefix="/usr" + make +} + +package() { + cd "trunk/xvidcore/build/generic" + + make DESTDIR="$pkgdir" install +} |