diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-07-06 22:04:31 -0600 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-07-06 22:04:31 -0600 |
commit | 2967b22c6179ded9cc01496e10dcb0f292d0c182 (patch) | |
tree | 9219e7dc564f3dc8af29ea142c4b5d409ea74310 /pcr/libav-builder/PKGBUILD | |
parent | 55677d14e4829d6a7859333d3560db346c228fdf (diff) | |
parent | e84010fb9a6f81d96d9c54661a7abde97a0eb187 (diff) |
Merge branch 'master-remote' into master-undelete
Diffstat (limited to 'pcr/libav-builder/PKGBUILD')
-rw-r--r-- | pcr/libav-builder/PKGBUILD | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/pcr/libav-builder/PKGBUILD b/pcr/libav-builder/PKGBUILD deleted file mode 100644 index 5f7168f86..000000000 --- a/pcr/libav-builder/PKGBUILD +++ /dev/null @@ -1,48 +0,0 @@ -# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com> - -static=false -pkgbase=libav -if [[ $static == true ]] || [[ $static == 1 ]] || [[ $static == enable ]]; then - pkgname=libav-static-builder -elif [[ $static == false ]] || [[ $static == 0 ]] || [[ $static == disable ]]; then - pkgname=libav-builder -fi -pkgflag=builder -pkgver=9.3 -pkgrel=1 -pkgdesc="Link files on /usr/include and /usr/lib dir (ONLY FOR BUILD OTHERS PACKAGES)" -arch=any -url="http://$pkgbase.org/" -license=GPL -depends=${pkgname%-$pkgflag}=$pkgver -conflicts=( - ffmpeg - ffmpeg-static -) -if [[ $static == true ]] || [[ $static == 1 ]] || [[ $static == enable ]]; then - conflicts+=( - ${pkgname%-static-$pkgflag} - ) -elif [[ $static == false ]] || [[ $static == 0 ]] || [[ $static == disable ]]; then - conflicts+=( - ${pkgname%-$pkgflag}-static - ) -fi - -package() { - install -m755 -d $pkgdir/usr/{include,lib{,/pkgconfig}} - include_list=$(ls /opt/${pkgname%-$pkgflag}/include) - for i in $include_list; do - ln -s /opt/${pkgname%-$pkgflag}/include/$i $pkgdir/usr/include - done - lib_list=$(ls /opt/${pkgname%-$pkgflag}/lib | grep lib) - for l in $lib_list; do - ln -s /opt/${pkgname%-$pkgflag}/lib/$l $pkgdir/usr/lib - done - pkgconfig_list=$(ls /opt/${pkgname%-$pkgflag}/lib/pkgconfig) - for c in $pkgconfig_list; do - ln -s /opt/${pkgname%-$pkgflag}/lib/pkgconfig/$c $pkgdir/usr/lib/pkgconfig - done -} - -# vim:set ts=2 sw=2 et: |