summaryrefslogtreecommitdiff
path: root/package/arch/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'package/arch/PKGBUILD')
-rw-r--r--package/arch/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/package/arch/PKGBUILD b/package/arch/PKGBUILD
new file mode 100644
index 0000000..c5ae8f4
--- /dev/null
+++ b/package/arch/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Jon Gjengset <jon@tsp.io>
+_gitname=mktrayicon
+pkgname=$_gitname-git
+pkgver=11.df5ae8f
+pkgrel=1
+pkgdesc="Create system tray icons by writing to a pipe"
+arch=('any')
+url="https://github.com/Jonhoo/mktrayicon"
+license=('MIT')
+depends=('gtk3')
+makedepends=('git')
+provides=($_gitname)
+conflicts=($_gitname)
+install=
+source=('git+https://github.com/Jonhoo/mktrayicon.git')
+md5sums=('SKIP')
+
+pkgver() {
+ cd $_gitname
+ echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
+}
+
+build() {
+ cd $_gitname
+ make
+}
+
+package() {
+ cd $_gitname
+ install -Dm 755 mktrayicon $pkgdir/usr/bin/mktrayicon
+}
+
+# vim:set ts=2 sw=2 et:
bgstack15