summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 11d548912f0cfd9fc59de8991397162da1502cc8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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
}