summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3e4c8f537c86ecc845d93807242fb683b04e6c75 (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
# Maintainer: bud
# Contributor: bud

pkgname=i3menu
pkgver=0.3.3
pkgrel=3
pkgdesc='wrapper for dmenu(-bud) optimized for i3fyra'
arch=('any')
url='https://github.com/budlabs/i3menu'
license=('MIT')
depends=('bash>=4.0.0' 'dmenu-bud' 'gawk')
makedepends=('gawk')
optdepends=('xdotool' 'i3ass')
source=("$url/archive/$pkgver/${pkgname}-$pkgver.tar.gz")
sha256sums=('e90514cd92f09f70fd6e6c30183dd633e5594f2944bbe6868e17e31f8823b491')
_trgdir="$pkgname-$pkgver"

# _trgdir="$pkgname"
# sha256sums=('SKIP')
# url='file:///home/bud/git/lab/i3menu'
# source=("${pkgname}::git+$url")

package() {
  cd "$_trgdir"

  make DESTDIR="$pkgdir/" PREFIX=/usr
  make DESTDIR="$pkgdir/" PREFIX=/usr install

  install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
  install -Dm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
}