-
Notifications
You must be signed in to change notification settings - Fork 0
/
PKGBUILD
30 lines (26 loc) · 814 Bytes
/
PKGBUILD
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
# Maintainer: udeved <[email protected]>
pkgname=kde-servicemenus-pkg-tools-git
pkgver=0.r117.7f4b6b6
pkgrel=1
pkgdesc="Servicemenu for makepkg, pactree graph, local repo, namcap & aur upload."
arch=('any')
url="https://github.com/udeved/kde-servicemenus-pkg-tools"
license=('GPL2')
depends=('kdialog' 'namcap' 'graphviz' 'pkgbuild-introspection' 'curl')
makedepends=('git')
conflicts=('kde-servicemenus-pkg-tools')
install=pkg-tools.install
source=("$pkgname"::'git://github.com/udeved/kde-servicemenu-pkg-tools.git')
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$pkgname"
printf "0.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd ${srcdir}/${pkgname}
make PREFIX=/usr
}
package() {
cd ${srcdir}/${pkgname}
make PREFIX=/usr DESTDIR=${pkgdir} install
}