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')