summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PKGBUILD15
1 files changed, 7 insertions, 8 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 60ccd37f660..9d8d39ea934 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,7 @@
# Maintainer: gCurse <gcurse at web dot de>
pkgname=gstreamer0.10-gnonlin
+_pkgname=gnonlin
pkgver=0.10.17
pkgrel=2
pkgdesc="A library for creating non-linear video editors"
@@ -9,19 +10,17 @@ url="http://gstreamer.freedesktop.org/"
license=('GPL2')
depends=('gstreamer0.10')
makedepends=('automake' 'autoconf' 'intltool' 'gstreamer0.10-base' 'gstreamer0.10-base-plugins' )
-source=(http://gstreamer.freedesktop.org/src/gnonlin/gnonlin-0.10.17.tar.gz)
-md5sums=('3f121bb2e6ae0b2bcb0b7301bd65e806')
-
-_appname=gnonlin
+source=(https://gstreamer.freedesktop.org/src/${_pkgname}/${_pkgname}-${pkgver}.tar.gz)
+sha256sums=('93c46ba292139b28a126852a49c6c562dc43da6e5cc2ae2f144e9bb7e5d2bde6')
build() {
- cd "${srcdir}/${_appname}-${pkgver}"
- sed -i s/\ --enable-gtk-doc//g autogen.sh
- ./autogen.sh --prefix=/usr
+ cd ${_pkgname}-${pkgver}
+ NOCONFIGURE=1 ./autogen.sh
+ ./configure --prefix=/usr --disable-gtk-doc
make
}
package() {
- cd "${srcdir}/${_appname}-${pkgver}"
+ cd ${_pkgname}-${pkgver}
make DESTDIR="$pkgdir" install
}