diff options
author | Lubosz Sarnecki | 2015-06-22 22:54:47 +0200 |
---|---|---|
committer | Lubosz Sarnecki | 2015-06-22 22:54:47 +0200 |
commit | 934d4718586456b79ddbbe6f8729f8c5674727ad (patch) | |
tree | eaa9e7175c6babffd750499f0343dc82df94bbd3 /PKGBUILD | |
download | aur-934d4718586456b79ddbbe6f8729f8c5674727ad.tar.gz |
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a0dfc0ab7e0d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,45 @@ +# Maintainer: Lubosz Sarnecki <lubosz@gmail.com> +# Contributor: Kerrick Staley <mail@kerrickstaley.com> +# Contributor: Thomas Schneider <maxmusterm@gmail.com> +# Contributor: Abhishek Dasgupta <abhidg@gmail.com> +# Contributor: Gabor Nyekhelyi (n0gabor) <n0gabor@vipmail.hu> + +pkgname=pitivi-git +pkgver=0.93.5994.c671383 +pkgrel=1 +pkgdesc='Pitivi allows users to easily edit audio/video projects based on the GStreamer framework (Git version)' +arch=('any') +license=('LGPL') +depends=('gstreamer' 'gst-plugins-base' 'gobject-introspection' 'python' 'python-gobject' 'goocanvas' 'gst-python-git' 'gst-editing-services-git' 'gnonlin-git' 'python-xdg' 'desktop-file-utils' 'hicolor-icon-theme' 'python-numpy') +makedepends=('automake' 'libtool' 'intltool' 'itstool' 'pygobject-devel' 'gtk-doc' 'gnome-doc-utils' 'yelp-tools') +optdepends=('python-pycanberra-git: sound notifications') +install=pitivi-git.install +provides=('pitivi') +conflicts=('pitivi') +url='http://www.pitivi.org/' + +source=('git://git.gnome.org/pitivi') +_gitname='pitivi' +md5sums=('SKIP') + +pkgver() { + cd $_gitname + + version=$(grep AC_INIT configure.ac | sed 's/AC_INIT(Pitivi, //' | sed 's/,//') + hash=$(git log --pretty=format:'%h' -n 1) + revision=$(git rev-list --count HEAD) + + echo $version.$revision.$hash +} + +build() { + cd $_gitname + ./autogen.sh --prefix=/usr + make +} + +package() { + cd $_gitname + make DESTDIR="$pkgdir" install + install -D -m644 data/pitivi.desktop "$pkgdir/usr/share/applications/pitivi.desktop" +} |