diff options
author | Nicolás Reynolds | 2015-10-02 14:04:19 -0300 |
---|---|---|
committer | Nicolás Reynolds | 2015-10-02 14:04:19 -0300 |
commit | c0b2659352ef9d51213bc5dd84de3234605060ff (patch) | |
tree | 2a5487e8067716325f46af1d7ee4f0110e3347b6 | |
download | aur-c0b2659352ef9d51213bc5dd84de3234605060ff.tar.gz |
recovering this from my pkgbuild cache
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 37 |
2 files changed, 56 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..68d951c7acc3 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = xfce4-hamster-plugin-git + pkgdesc = A recreation of the gnome-shell hamster extension as a xfce4 panel plugin. + pkgver = 0.r69.95655e2 + pkgrel = 1 + url = https://github.com/projecthamster/xfce4-hamster-plugin-git + arch = x86_64 + arch = i686 + license = GPL + makedepends = pkgconfig + makedepends = intltool + depends = xfce4-panel + depends = hamster-time-tracker + conflicts = xfce4-hamster-plugin + replaces = xfce4-hamster-plugin + source = xfce4-hamster-plugin-git::git+https://github.com/projecthamster/xfce4-hamster-plugin + sha256sums = SKIP + +pkgname = xfce4-hamster-plugin-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..7234006b3900 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Hakan Erduman <hakan at erduman dot de> +pkgname=xfce4-hamster-plugin-git +pkgver=0.r69.95655e2 +pkgrel=1 +pkgdesc="A recreation of the gnome-shell hamster extension as a xfce4 panel plugin." +url="https://github.com/projecthamster/${pkgname}" +arch=('x86_64' 'i686') +license=('GPL') +depends=('xfce4-panel' 'hamster-time-tracker') +makedepends=('pkgconfig' 'intltool' ) +source=("${pkgname}::git+https://github.com/projecthamster/${pkgname%-git}") +sha256sums=('SKIP') +replaces=(${pkgname%-git}) +conflicts=(${pkgname%-git}) + +pkgver() { + cd "${srcdir}/${pkgname}" + printf "0.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +prepare() { + cd "${srcdir}/${pkgname}" + ./autogen.sh +} + +build() { + cd "${srcdir}/${pkgname}" + ./configure --prefix=/usr --enable-silent-rules -silent --with-icon_name=hamster-time-tracker + make +} + +package() { + cd "${srcdir}/${pkgname}" + make DESTDIR="${pkgdir}" install +} + +# vim:set ts=2 sw=2 et: |