summaryrefslogtreecommitdiff
path: root/package/arch/PKGBUILD
diff options
context:
space:
mode:
authorJon Gjengset <jon@thesquareplanet.com>2013-09-05 21:20:46 +0100
committerJon Gjengset <jon@thesquareplanet.com>2013-09-05 21:20:46 +0100
commitdf560c929b5f12f6848e77810c328e9de73c2b2c (patch)
tree68579882dd3087ee162529680a0f915408784be3 /package/arch/PKGBUILD
parentAdd note in README about exit conditions (diff)
downloadmktrayicon-df560c929b5f12f6848e77810c328e9de73c2b2c.tar.gz
mktrayicon-df560c929b5f12f6848e77810c328e9de73c2b2c.tar.bz2
mktrayicon-df560c929b5f12f6848e77810c328e9de73c2b2c.zip
Add Arch build file
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