summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 08c58a815dba5e5d6260ba7e1d7b5d1fe851c640 (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: John Smith <knobpersonal@gmail.com>
pkgname='menu-bookmark-git'
pkgver=r27.117bd15
pkgrel=1
pkgdesc="A website bookmark manager using the menu backend (git version)."
arch=('any')
url="https://gitlab.com/KNIX3/bookmarkmenu"
license=('GPL')
depends=('menu' 'tree' 'dmenu')
makedepends=('git')
provides=('menu-bookmark')
source=("$pkgname::git+https://gitlab.com/KNIX3/bookmarkmenu.git")
md5sums=('SKIP')

pkgver() {
	cd "$pkgname"
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
	cd "$pkgname"
}

package() {
	cd "$pkgname"
	install -Dm755 ./bookmarkmenu "$pkgdir/usr/bin/bookmarkmenu"
	install -Dm644 ./README.md "$pkgdir/usr/share/doc/$pkgname"
}