From 90b5773a18e3038485608847717b67209dfd30ae Mon Sep 17 00:00:00 2001 From: Olaf Leidinger Date: Tue, 5 Nov 2013 11:19:35 +0100 Subject: [PATCH] PKGBUILD for archlinux --- pkg/arch/PKGBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 pkg/arch/PKGBUILD diff --git a/pkg/arch/PKGBUILD b/pkg/arch/PKGBUILD new file mode 100644 index 0000000..bf35284 --- /dev/null +++ b/pkg/arch/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Olaf Leidinger + +pkgname=gnome-shell-extension-teatime +_gitname=gnome-shell-teatime +pkgver=54.a6a3095 +pkgrel=1 +pkgdesc="A tea drawing timer for the gnome-shell" +arch=('any') +url="https://github.com/oleid/gnome-shell-teatime" +license=('GPL') +depends=('gnome-shell') +makedepends=('git' 'intltool' 'glib2') +source=("git${url#https}.git") + +pkgver() { + cd $_gitname + echo $(git rev-list --count master).$(git rev-parse --short master) +} + +build() { + cd $_gitname + ./autogen.sh + ./configure --prefix=/usr + make +} +package() { + cd $_gitname + make DESTDIR="$pkgdir" install +} + +sha256sums=('SKIP')