summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO12
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD46
3 files changed, 28 insertions, 34 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 707bc3c3b898..f5ec16ffea4c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,13 @@
pkgbase = rxfetch
pkgdesc = A minimal but geeky fetch utility
pkgver = 1.0
- pkgrel = 1
- url = git+https://github.com/mangeshrex/rxfetch
+ pkgrel = 2
+ url = https://github.com/mangeshrex/rxfetch
arch = any
- groups = unknown
- license = MIT
- depends = git
+ license = GPL3
+ makedepends = git
+ depends = bash
source = git+https://github.com/mangeshrex/rxfetch
- sha512sums = SKIP
+ b2sums = SKIP
pkgname = rxfetch
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 000000000000..f71c635dafda
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+*
+!.gitignore
+!PKGBUILD
+!.SRCINFO
diff --git a/PKGBUILD b/PKGBUILD
index 78aeb78c6830..a378d8a0d288 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,39 +1,29 @@
-# Maintainer: Mangeshrex <ex835138 {at} gmail {dot} com>
+# Maintainer: zoorat <zoorat [at] protonmail [dot] com>
+# Old Maintainer: Mangeshrex <ex835138 {at} gmail {dot} com>
pkgname=rxfetch
pkgver=1.0
-pkgrel=1
-epoch=
+pkgrel=2
+
pkgdesc="A minimal but geeky fetch utility"
arch=('any')
-url="git+https://github.com/mangeshrex/rxfetch"
-license=('MIT')
-groups=('unknown')
-depends=('git')
-makedepends=()
-checkdepends=()
-optdepends=()
-provides=()
-conflicts=()
-replaces=()
-backup=()
-options=()
-#install=
-changelog=
-source=("git+https://github.com/mangeshrex/rxfetch")
-noextract=()
-sha512sums=('SKIP')
+url="https://github.com/mangeshrex/rxfetch"
+license=('GPL3')
-prepare() {
- cd "$pkgname"
-}
+depends=('bash')
+makedepends=('git')
-build() {
- cd "$pkgname"
-}
+source=("git+https://github.com/mangeshrex/rxfetch")
+b2sums=('SKIP')
package() {
cd "$pkgname"
- sudo cp rxfetch /usr/bin
- sudo cp -r ttf-material-design-icons /usr/share/fonts/
+
+ install -vd "$pkgdir/usr/bin/"
+ install -vDm 755 rxfetch "$pkgdir/usr/bin/"
+
+ install -vdm 755 "$pkgdir/usr/share/fonts/ttf-material-design-icons"
+ cp -rv "ttf-material-design-icons/" "$pkgdir/usr/share/fonts/"
+
+ install -vDm 644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}