summaryrefslogtreecommitdiffstats
path: root/wgetpkg
diff options
context:
space:
mode:
authorkj-sh6042024-06-30 07:12:19 -0400
committerkj-sh6042024-06-30 07:12:19 -0400
commitd3472ccbf8ad0d964543f24e265f22f7289e04a0 (patch)
treecba777ae1b1558b5499a24896bab415f4264699c /wgetpkg
parent563f062c439396cf25f0d0f0c27cea6af8571306 (diff)
kj-gitbot: wgetpkg/
Diffstat (limited to 'wgetpkg')
-rw-r--r--wgetpkg/.SRCINFO11
-rw-r--r--wgetpkg/.gitignore6
-rw-r--r--wgetpkg/PKGBUILD22
3 files changed, 39 insertions, 0 deletions
diff --git a/wgetpkg/.SRCINFO b/wgetpkg/.SRCINFO
new file mode 100644
index 0000000..532232d
--- /dev/null
+++ b/wgetpkg/.SRCINFO
@@ -0,0 +1,11 @@
+pkgbase = wgetpkg
+ pkgdesc = Download AUR packages with wget
+ pkgver = 0.2.0
+ pkgrel = 2
+ url = https://github.com/kj-sh604/wgetpkg
+ arch = any
+ license = UNLICENSE
+ depends = wget
+ source = wgetpkg-0.2.0.tar.gz::https://github.com/kj-sh604/wgetpkg/archive/refs/tags/0.2.0.tar.gz
+
+pkgname = wgetpkg
diff --git a/wgetpkg/.gitignore b/wgetpkg/.gitignore
new file mode 100644
index 0000000..6b2b2ea
--- /dev/null
+++ b/wgetpkg/.gitignore
@@ -0,0 +1,6 @@
+pkg/
+src/
+*.tar
+*.tar.zst
+*.tar.gz
+*.tar.xz
diff --git a/wgetpkg/PKGBUILD b/wgetpkg/PKGBUILD
new file mode 100644
index 0000000..154986e
--- /dev/null
+++ b/wgetpkg/PKGBUILD
@@ -0,0 +1,22 @@
+pkgname=wgetpkg
+pkgver=0.2.0
+pkgrel=2
+pkgdesc="Download AUR packages with wget"
+arch=('any')
+depends=('wget')
+url="https://github.com/kj-sh604/wgetpkg"
+license=('UNLICENSE')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/kj-sh604/wgetpkg/archive/refs/tags/$pkgver.tar.gz")
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ msg2 'Installing license...'
+ install -Dm 644 UNLICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
+
+ msg2 'Installing documentation...'
+ install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
+
+ msg2 'Installing...'
+ install -Dm 755 wgetpkg -t "$pkgdir/usr/bin"
+}