summaryrefslogtreecommitdiff
path: root/mirror/PKGBUILD
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2023-04-15 21:15:36 +0200
committerAki <please@ignore.pl>2023-04-15 21:22:38 +0200
commitd5f23ccf775b4eeeb037fb4443b01bea5996b858 (patch)
tree90ba89f16a8a649ea9f360ee6c93b77bc8afe5cd /mirror/PKGBUILD
parentb4f5eddc9926f288095268f89c5da6d90ba87e32 (diff)
downloadarch-ignore-d5f23ccf775b4eeeb037fb4443b01bea5996b858.zip
arch-ignore-d5f23ccf775b4eeeb037fb4443b01bea5996b858.tar.gz
arch-ignore-d5f23ccf775b4eeeb037fb4443b01bea5996b858.tar.bz2
Added mirror package
Diffstat (limited to 'mirror/PKGBUILD')
-rw-r--r--mirror/PKGBUILD22
1 files changed, 22 insertions, 0 deletions
diff --git a/mirror/PKGBUILD b/mirror/PKGBUILD
new file mode 100644
index 0000000..54ff2b7
--- /dev/null
+++ b/mirror/PKGBUILD
@@ -0,0 +1,22 @@
+# Maintainer: Aki <please at ignore pl>
+pkgname=mirror
+pkgver=7c308f9
+pkgrel=1
+license=(None)
+pkgdesc='Script that copies git repositories in bulk'
+arch=(any)
+depends=(python-url)
+source=("https://git.ignore.pl/${pkgname}/snapshot/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('39efe4c01288fdab75412c8ec032c7a2210a4456fef97e62262d2df3b57f81f2')
+
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make all
+}
+
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ DESTDIR="${pkgdir}" PREFIX="/usr" make install
+}