blob: 0e33137b624b5f766a5ebf0ecfd2817e2eb24a95 (
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
|
# Maintainer: Arsen Musayelyan <moussaelianarsen@gmail.com>
pkgname=pak-git
pkgver=r27.51071dc
pkgrel=2
pkgdesc="Changes pacman syntax to be more like APT"
arch=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h' 'aarch64')
license=('GPLv3')
depends=('yay')
provides=('pak')
conflicts=('pak')
makedepends=('go')
source=('git+https://gitea.arsenm.dev/Arsen6331/pak.git')
md5sums=('SKIP')
backup=('etc/pak.toml')
pkgver() {
cd "$srcdir/pak"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/pak"
make
}
package() {
cd "$srcdir/pak"
make PAK_CFG_MGR="yay" DESTDIR="$pkgdir" install
}
|