summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a65cbf5e5f48befbcfecb0b19e767809c248a668 (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: raycekar <n/a. All contact through github>

pkgname=ppac-git
pkgver=0.1
pkgrel=1
pkgdesc="A package installer/updater helper."
arch=('any')
url="https://github.com/raycekar/ppac.git#branch=aurRelease"
license=('GPL3')
depends=('pacman')
makedepends=('gcc')
optdepends=('yay: replacment for pacman' 
            'paru: replacment for pacman')
source=("git+$url")
md5sums=("SKIP")

pkgver() {
	cd ppac
	printf "0.1.r%s" "$(git rev-list --count HEAD)"
}

build() {
	cd ppac
	gcc -g *.c -o ppac
}

package() {
	cd ppac
	install -Dm755 ppac "$pkgdir/usr/bin/ppac"
	install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}