summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c0f4a235996d13470de5ee3bd056bcc3d606105a (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
# Maintainer: Alexander Sulfrian <asulfrian at zedat dot fu-berlin dot de>

pkgname=xmonad-log
pkgver=0.1.0
pkgrel=1
pkgdesc="DBus monitor for xmonad log events"
arch=('x86_64' 'i686')
url="https://github.com/xintron/xmonad-log"
license=('MIT')
makedepends=('go' 'dbus-go')
options=('!strip' '!emptydirs')
source=("https://github.com/xintron/$pkgname/archive/$pkgver.tar.gz")
sha256sums=('b08ca8db87c0418819f6f0c546fe18da336adbc9d0b3e95205bb2690095d6dd4')

build() {
  cd "$pkgname-$pkgver"

  go build
}

package() {
  cd "$pkgname-$pkgver"

  install -Dm755 "$pkgname-$pkgver" "$pkgdir/usr/bin/$pkgname"
  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

# vim:set ts=2 sw=2 et: