summaryrefslogtreecommitdiff
path: root/mirror/PKGBUILD
blob: 9c534e00fffdbf21e0fbddf369f479eb47ab557c (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: Aki <please at ignore pl>
pkgname=mirror
_commit=c9c1d5c
pkgver=20240119.1
pkgrel=1
license=(None)
pkgdesc='Script that copies git repositories in bulk'
arch=(any)
depends=(url)
source=("${pkgname}::git+https://git.ignore.pl/${pkgname}#commit=${_commit}")
sha256sums=('SKIP')


pkgver() {
	cd "${srcdir}/${pkgname}"
	./version
}


build() {
	cd "${srcdir}/${pkgname}"
	make all
}


package() {
	cd "${srcdir}/${pkgname}"
	make DESTDIR="${pkgdir}" PREFIX="/usr" install
}