summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a2e2734719c03a94d8e407f8f3f1399d39b05c97 (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
32
# Maintainer: Jaden Peterson <jadenpeterson150@gmail.com>

pkgname='pac-util-git'
pkgver=1.r6.g6b6aabc
pkgrel=1
pkgdesc='A pacman maintenance utility'
arch=('any')
url='https://github.com/jadenPete/pac'
provides=('pac-util')
conflicts=('pac-util')
license=('MIT')

depends=('expac'
         'ncurses'
         'pacman-contrib')

optdepends=('trizen: AUR support'
            'yay: AUR support')

makedepends=('git')
source=("git+https://github.com/jadenPete/pac.git")
sha256sums=('SKIP')

pkgver() {
	cd pac

	git describe --tags | tail -c +2 | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

package() {
	install -D "pac/pac" "${pkgdir}/usr/bin/pac"
}