summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Newgard <scimmia22@outlook.com>2013-06-22 12:33:52 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-06-22 12:33:52 +0900
commit02cfe088995d66c499ac8352fa15892369c36412 (patch)
tree1ab237a8acf221bebccd7fd9f768491b7df74769
parent6fb0cfd3a26f451c696e5e41e61b9354f3235a6d (diff)
downloadevas_generic_loaders-02cfe088995d66c499ac8352fa15892369c36412.tar.gz
Evas_generic_loaders: PKGBUILD cleanup
pkgname is just a variable instead of an array when it's not a split package Don't need empty makedepends array Add 'efl' to depends Removed 'gstreamer0.10' from deps, already going to be pulled in by the plugins Changed gstreamer deps to the plugin packages, that's what's actually needed by this package Doesn't need to provide itself or the obsolete -svn version Doesn't need to confict with the obsolete -svn version, if someone still has this, they're so far out of date it's not very likely they're paying any attention at all Removed 'strip' and 'zipman' options, they're already default, no need to override if someone chooses to change that. Removed -O2 and -g build flags for the same reason Removed buildflags and specified them in the CFLAGS variable Removed LDFLAGS declariation, why were we clearing this? Removed --disable-static, no static libs are built (I checked this time) No need to rm -rf $pkgdir/usr Double quote all paths with variables Install only license declaration, GPL2 is already on the system
-rw-r--r--pkgbuild/PKGBUILD.in33
1 files changed, 14 insertions, 19 deletions
diff --git a/pkgbuild/PKGBUILD.in b/pkgbuild/PKGBUILD.in
index 2144985..7aaebf4 100644
--- a/pkgbuild/PKGBUILD.in
+++ b/pkgbuild/PKGBUILD.in
@@ -1,25 +1,20 @@
# Maintainer: Enlightenment Developers <enlightenment-devel@enlightenment.org>
-pkgname=('evas_generic_loaders')
+pkgname=evas_generic_loaders
pkgver=@VERSION@
pkgrel=1
pkgdesc="Evas external binary executable loaders - GIT development snapshot"
arch=('i686' 'x86_64' 'arm')
url="http://www.enlightenment.org"
license=('GPL2')
-makedepends=()
-depends=('poppler' 'libraw' 'libspectre' 'librsvg' 'gstreamer0.10'
- 'gstreamer0.10-base' 'gstreamer0.10-good'
- 'gstreamer0.10-bad' 'gstreamer0.10-ugly' 'gstreamer0.10-ffmpeg')
-provides=("evas_generic_loaders=$pkgver" 'evas_generic_loaders-svn')
-conflicts=('evas_generic_loaders-svn')
-options=('strip' 'zipman' '!libtool' 'debug')
-buildflags="-O2 -g -fvisibility=hidden -fomit-frame-pointer"
+depends=('efl' 'poppler' 'libraw' 'libspectre' 'librsvg' 'gstreamer0.10-base-plugins'
+ 'gstreamer0.10-good-plugins' 'gstreamer0.10-bad-plugins'
+ 'gstreamer0.10-ugly-plugins' 'gstreamer0.10-ffmpeg')
+options=('!libtool' 'debug')
build() {
- export LDFLAGS=""
cd "../.."
+ export CFLAGS="$CFLAGS -fvisibility=hidden -fomit-frame-pointer"
make clean distclean
- ./configure --prefix=/usr \
- --disable-static
+ ./configure --prefix=/usr
make
}
@@ -30,12 +25,12 @@ build() {
package() {
cd "../.."
- rm -rf $pkgdir/usr
make -j1 DESTDIR="$pkgdir/" install
- install -Dm644 README $pkgdir/usr/share/$pkgname/README
- install -Dm644 NEWS $pkgdir/usr/share/$pkgname/NEWS
- install -Dm644 ChangeLog $pkgdir/usr/share/$pkgname/ChangeLog
- install -Dm644 AUTHORS $pkgdir/usr/share/$pkgname/AUTHORS
- install -Dm644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
- ln -s ../licenses/$pkgname/COPYING $pkgdir/usr/share/$pkgname/COPYING
+ install -Dm644 README "$pkgdir/usr/share/$pkgname/README"
+ install -Dm644 NEWS "$pkgdir/usr/share/$pkgname/NEWS"
+ install -Dm644 ChangeLog "$pkgdir/usr/share/$pkgname/ChangeLog"
+ install -Dm644 AUTHORS "$pkgdir/usr/share/$pkgname/AUTHORS"
+ install -d "$pkgdir/usr/share/licenses/$pkgname"
+ sed -n '1,/PARTICULAR PURPOSE/p' COPYING > "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+ ln -s "../licenses/$pkgname/COPYING" "$pkgdir/usr/share/$pkgname/COPYING"
}