summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f87c20b76ae
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer: Fabio Loli <loli_fabio@protonmail.com> -> https://github.com/FabioLolix
+
+pkgname=libav-no-libs
+pkgver=12.1
+pkgrel=3
+pkgdesc="Open source audio and video processing tools forked from ffmpeg"
+arch=('i686' 'x86_64')
+url="http://www.libav.org/"
+license=('LGPL')
+depends=('sdl' 'ffmpeg')
+makedepends=('yasm')
+provides=('libav-no-libs')
+conflicts=('libav' 'libav-no-libs' 'libav-no-libs-git' 'libav-git-no-libs')
+source=("http://libav.org/releases/libav-$pkgver.tar.xz")
+md5sums=('b611fd79ebcf90e3d0b8e66c4ea80a17')
+
+build() {
+ cd "$srcdir/libav-$pkgver"
+
+ ./configure \
+ --prefix=/usr \
+ --enable-nonfree \
+ --disable-static \
+ --enable-shared \
+ --disable-debug \
+ --disable-pthreads
+ make
+}
+
+package() {
+ cd "$srcdir/libav-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+ rm -r "$pkgdir"/usr/{include,lib}
+}
+