summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4840d7c10ac9ad82143e72b66edf748734fbded5 (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=r17.f2b5387
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' '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"
}