diff options
author | AdriĆ Arrufat | 2017-05-22 21:16:00 +0200 |
---|---|---|
committer | AdriĆ Arrufat | 2017-05-22 21:16:00 +0200 |
commit | 122feadaf8d87522f1785e89acb2936e174f3186 (patch) | |
tree | 66bc12e3813e2abd80b963f45f037e42d8cca3a3 /PKGBUILD | |
download | aur-gnome-credentials-git.tar.gz |
initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..11d548912f0c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +_pkgname=gnome-credentials +pkgname=$_pkgname-git +pkgver=0.1+225+gd68a66c +pkgrel=1 +pkgdesc="Passwords & keys" +arch=(i686 x86_64) +license=(GPL) +url="https://wiki.gnome.org/Design/Apps/Credentials" +depends=(gtk3) +makedepends=(intltool git vala gobject-introspection) +replaces=($_pkgname) +provides=($_pkgname-$pkgver) +conflicts=($_pkgname) +groups=(gnome-extra) +source=('git+https://git.gnome.org/browse/gnome-credentials') +sha256sums=('SKIP') + +pkgver() { + cd $_pkgname + _count=$(git rev-list --count HEAD) + _commit=$(git rev-parse --short HEAD) + echo 0.1+$_count+g$_commit +} + +build() { + cd $_pkgname + ./autogen.sh --prefix=/usr --disable-Werror + make +} + +package() { + cd $_pkgname + make DESTDIR="$pkgdir" install +} |