summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..0fbe31bf334
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Eduard Gabriel (lexofficial29@protonmail.com)
+
+pkgname=lexspec-git
+_srcname=lexspec
+provides=('lexspec')
+conflicts=('lexspec')
+pkgver=r10.5ac67ac
+pkgrel=1
+pkgdesc="Get system information in linux"
+arch=('any')
+url="https://github.com/lexofficial29/lexspec"
+license=('GPLv2')
+source=("git+https://github.com/lexofficial29/lexspec")
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$_srcname"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+package() {
+ cd "$pkgdir"
+ install -Dm644 "$srcdir"/"$_srcname"/lspec usr/bin/lspec
+ chmod +x usr/bin/lspec
+}