diff options
author | anthraxx | 2016-08-18 00:11:36 +0200 |
---|---|---|
committer | anthraxx | 2016-08-18 00:11:36 +0200 |
commit | 1c7c21be72cc8e51879155b60485d712a025be8d (patch) | |
tree | 5f8de9418a3af581f1073afd73c496b5ba4b15a9 | |
download | aur-1c7c21be72cc8e51879155b60485d712a025be8d.tar.gz |
addpkg: pidgin-privacy-please-git 0.7.1.125.8c63bcf-1
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | PKGBUILD | 42 |
2 files changed, 63 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..35fac8930681 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +# Generated by mksrcinfo v8 +# Wed Aug 17 22:11:36 UTC 2016 +pkgbase = pidgin-privacy-please-git + pkgdesc = Pidgin plugin to stop spam + pkgver = 0.7.1.125.8c63bcf + pkgrel = 1 + url = https://github.com/cockroach/pidgin-privacy-please + arch = i686 + arch = x86_64 + license = GPL3 + makedepends = git + makedepends = intltool + depends = pidgin + depends = libpurple + provides = pidgin-privacy-please + conflicts = pidgin-privacy-please + source = pidgin-privacy-please-git::git+https://github.com/cockroach/pidgin-privacy-please + sha512sums = SKIP + +pkgname = pidgin-privacy-please-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..7f74fd823221 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,42 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> + +pkgname=pidgin-privacy-please-git +pkgver=0.7.1.125.8c63bcf +pkgrel=1 +pkgdesc='Pidgin plugin to stop spam' +url='https://github.com/cockroach/pidgin-privacy-please' +arch=('i686' 'x86_64') +license=('GPL3') +depends=('pidgin' 'libpurple') +makedepends=('git' 'intltool') +provides=('pidgin-privacy-please') +conflicts=('pidgin-privacy-please') +source=(${pkgname}::git+https://github.com/cockroach/pidgin-privacy-please) +sha512sums=('SKIP') + +pkgver() { + cd ${pkgname} + printf "%s.%s.%s" \ + "$(git tag|sed -r 's|(release-)?(.*)|\2|g'|sort -Vr|head -n1)" \ + "$(git rev-list --count HEAD)" \ + "$(git rev-parse --short HEAD)" +} + +prepare() { + cd ${pkgname} + sh autogen.sh +} + +build() { + cd ${pkgname} + ./configure --prefix=/usr + make +} + +package() { + cd ${pkgname} + make DESTDIR="${pkgdir}" install + install -Dm 644 ChangeLog README -t "${pkgdir}/usr/share/doc/${pkgname}" +} + +# vim: ts=2 sw=2 et: |