From df560c929b5f12f6848e77810c328e9de73c2b2c Mon Sep 17 00:00:00 2001 From: Jon Gjengset Date: Thu, 5 Sep 2013 21:20:46 +0100 Subject: Add Arch build file --- package/arch/.gitignore | 3 +++ package/arch/PKGBUILD | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 package/arch/.gitignore create mode 100644 package/arch/PKGBUILD (limited to 'package') diff --git a/package/arch/.gitignore b/package/arch/.gitignore new file mode 100644 index 0000000..87df2af --- /dev/null +++ b/package/arch/.gitignore @@ -0,0 +1,3 @@ +src +pkg +*.pkg.* 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 +_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: -- cgit