diff options
author | Kevin MacMartin | 2015-06-10 00:37:49 -0400 |
---|---|---|
committer | Kevin MacMartin | 2015-06-10 00:37:49 -0400 |
commit | 1413574aed125eafe7414c169a7acc8a9bda193b (patch) | |
tree | 93564e325d411259b010ac8e559e172e006ccdf9 | |
download | aur-1413574aed125eafe7414c169a7acc8a9bda193b.tar.gz |
Initial import into AUR 4
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..83e376c81e67 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = mailnag-goa-plugin-git + pkgdesc = Mailnag GNOME Online Accounts Plugin + pkgver = 20150222.r10.903d991 + pkgrel = 1 + url = https://github.com/pulb/mailnag-goa-plugin + arch = any + license = GPL + depends = mailnag + depends = gnome-online-accounts + provides = mailnag-goa-plugin + conflicts = mailnag-goa-plugin + source = git+https://github.com/pulb/mailnag-goa-plugin + sha512sums = SKIP + +pkgname = mailnag-goa-plugin-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b68a51955143 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Kevin MacMartin <prurigro@gmail.com> +# Contributor: Patrick Ulbrich <zulu99 at gmx . net> + +_pkgname=mailnag-goa-plugin +pkgname=$_pkgname-git +pkgver=20150222.r10.903d991 +pkgrel=1 +pkgdesc='Mailnag GNOME Online Accounts Plugin' +arch=('any') +url='https://github.com/pulb/mailnag-goa-plugin' +license=('GPL') +depends=('mailnag' 'gnome-online-accounts') +source=("git+$url") +sha512sums=('SKIP') +conflicts=("$_pkgname") +provides=("$_pkgname") + +pkgver() { + cd $_pkgname + printf "%s.r%s.%s" "$(git show -s --format=%ci master | sed 's/\ .*//g;s/-//g')" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package() { + cd $_pkgname + python2 setup.py install --root="$pkgdir" +} |