diff options
author | Tom Wadley | 2018-07-04 14:13:54 -0500 |
---|---|---|
committer | Tom Wadley | 2018-07-04 14:43:10 -0500 |
commit | c2c110bce623b0440a71aca035bc8963fbc89acf (patch) | |
tree | bead9bc6e913096d2605974a2315e102878150c2 | |
download | aur-c2c110bce623b0440a71aca035bc8963fbc89acf.tar.gz |
Replacement for buildnotify-hg as upstream has moved to git
-rw-r--r-- | .SRCINFO | 23 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 39 |
3 files changed, 66 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..ae2f191d45c8 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,23 @@ +pkgbase = buildnotify-git + pkgdesc = A system tray based build status notification app for cctray.xml feeds + pkgver = 1.0.4.r5.g3a9bb0d + pkgrel = 1 + url = https://github.com/anaynayak/buildnotify + arch = any + license = GPL3 + makedepends = git + makedepends = python2-setuptools + depends = python2 + depends = python2-pyqt5 + depends = python2-pytz + depends = python2-dateutil + optdepends = python2-keyring: keyring support + provides = buildnotify + conflicts = buildnotify + conflicts = buildnotify-hg + replaces = buildnotify-hg + source = git+https://github.com/anaynayak/buildnotify + sha256sums = SKIP + +pkgname = buildnotify-git + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..893c4e72346e --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*.pkg.tar.xz +pkg/ +src/ +buildnotify/ diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..2feb1a0fa4ec --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,39 @@ +# Maintainer: Tom Wadley <tom@tomwadley.net> + +pkgname=buildnotify-git +pkgver=1.0.4.r5.g3a9bb0d +pkgrel=1 +pkgdesc="A system tray based build status notification app for cctray.xml feeds" +arch=('any') +url="https://github.com/anaynayak/buildnotify" +license=('GPL3') +depends=('python2' 'python2-pyqt5' 'python2-pytz' 'python2-dateutil') +optdepends=('python2-keyring: keyring support') +makedepends=('git' 'python2-setuptools') +conflicts=('buildnotify' 'buildnotify-hg') +provides=('buildnotify') +replaces=('buildnotify-hg') +source=("git+$url") +sha256sums=('SKIP') + +_installmodule() { + pushd "${srcdir}/buildnotify" + /usr/bin/python2 setup.py install --root="${pkgdir}/" --optimize=1 + popd +} + +pkgver() { + cd "${srcdir}/buildnotify" + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +} + +package() { + _installmodule + + cd "${srcdir}/buildnotify" + + install -D -m 644 buildnotify.desktop "${pkgdir}/usr/share/applications/buildnotify.desktop" + install -D -m 644 buildnotify.svg "${pkgdir}/usr/share/pixmaps/buildnotify.svg" +} + +# vim:set ts=2 sw=2 et: |