diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..87222133dc28 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Ivo Nunes <ivoavnunes at gmail dot com> +_pkgname="birdie" +pkgname="${_pkgname}-git" +pkgver=497+g345d84b +pkgrel=6 +pkgdesc="Twitter client for Linux" +arch=('i686' 'x86_64') +url="http://birdieapp.github.io" +license=('GPL3') +depends=('glib2' 'gtk3' 'hicolor-icon-theme' 'python2-requests' 'python2-requests-oauthlib' 'pygtksourceview2' 'python2-pillow' 'gtksourceview3' 'webkitgtk' 'python2-socksipy-git') +makedepends=('git' 'desktop-file-utils' 'hicolor-icon-theme' 'intltool' 'yelp-tools' 'gnome-common' 'gobject-introspection') +options=('!libtool') +conflicts=('birdie' 'birdie-bzr') +provides=('birdie') +install="${_pkgname}.install" +source=("${_pkgname}::git+https://github.com/birdieapp/birdie.git") +md5sums=('SKIP') + +pkgver() { + cd "${_pkgname}" + echo $(git rev-list --count HEAD)+g$(git rev-parse --short HEAD) +} + +build() { + cd "${_pkgname}" + export PYTHON=`which python2` + ./autogen.sh --prefix=/usr + make ${MAKEFLAGS} +} + +package() { + cd "${_pkgname}" + make DESTDIR="${pkgdir}/" install + sed -i 's|/usr/bin/env python|/usr/bin/python2|' ${pkgdir}/usr/bin/birdie +} |