summaryrefslogtreecommitdiff
path: root/package/arch/PKGBUILD
blob: c5ae8f4fb4166af87cd230ab29b0d45c3a8b921c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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