summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD28
2 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..0d1a888a4cd
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = screenfetch-git
+ pkgdesc = CLI Bash script to show system/theme info in screenshots
+ pkgver = 3.6.5.r141.ge73c7af
+ pkgrel = 1
+ epoch = 1
+ url = https://github.com/KittyKatt/screenFetch
+ arch = any
+ license = GPL
+ makedepends = git
+ depends = bash
+ depends = xorg-xdpyinfo
+ depends = xorg-xprop
+ optdepends = scrot: To take screenshot
+ provides = screenfetch
+ conflicts = screenfetch
+ source = screenfetch-git::git+https://github.com/KittyKatt/screenFetch.git
+ md5sums = SKIP
+
+pkgname = screenfetch-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..61a76f71e1f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Brian Bidulock <bidulock@openss7.org>
+pkgname=screenfetch-git
+_pkgname=screenfetch
+pkgver=3.6.5.r141.ge73c7af
+pkgrel=1
+epoch=1
+pkgdesc="CLI Bash script to show system/theme info in screenshots"
+arch=('any')
+url="https://github.com/KittyKatt/screenFetch"
+license=('GPL')
+provides=($_pkgname)
+conflicts=($_pkgname)
+depends=('bash' 'xorg-xdpyinfo' 'xorg-xprop')
+optdepends=('scrot: To take screenshot')
+makedepends=('git')
+source=("$pkgname::git+https://github.com/KittyKatt/screenFetch.git")
+md5sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags --long | sed -r -e 's,^[^0-9]*,,;s,([^-]*-g),r\1,;s,[-_],.,g'
+}
+
+package() {
+ cd $pkgname
+ install -Dm755 "screenfetch-dev" "$pkgdir/usr/bin/screenfetch"
+ install -Dm644 "screenfetch.1" "$pkgdir/usr/share/man/man1/screenfetch.1"
+}