summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnish2020-07-12 12:51:08 +0100
committerAnish2020-07-12 12:51:08 +0100
commit72fc2ad841ffe0df8cdec3f68b7eacf212c31b3a (patch)
tree0305d273d1e66bb7a7ed10bf6f91bb28f3c28b79
downloadaur-72fc2ad841ffe0df8cdec3f68b7eacf212c31b3a.tar.gz
Initial Push
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD40
2 files changed, 56 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..1064c8e9e18
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = st-supermario9590-git
+ pkgdesc = A patched and customized build of st (the Suckless simple terminal).
+ pkgver = 0.8.2.r1127.fa253f0
+ pkgrel = 1
+ url = https://github.com/supermario9590/st-supermario9590.git
+ arch = x86_64
+ arch = i686
+ license = MIT
+ makedepends = git
+ provides = st
+ conflicts = st
+ source = git+https://github.com/supermario9590/st-supermario9590.git
+ md5sums = SKIP
+
+pkgname = st-supermario9590-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..bcdaf46df1c
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,40 @@
+pkgname=st-supermario9590-git
+pkgver=0.8.2.r1127.fa253f0
+pkgrel=1
+pkgdesc="A patched and customized build of st (the Suckless simple terminal)."
+arch=(x86_64 i686)
+url="https://github.com/supermario9590/st-supermario9590.git"
+license=('MIT')
+groups=()
+makedepends=(git)
+checkdepends=()
+optdepends=()
+provides=(st)
+conflicts=(st)
+replaces=()
+backup=()
+options=()
+source=("git+$url")
+noextract=()
+md5sums=('SKIP')
+validpgpkeys=()
+
+pkgver() {
+ cd "${_pkgname}"
+ printf "0.8.2.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ }
+
+build() {
+ cd st-supermario9590
+ make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11
+ }
+
+package() {
+ cd st-supermario9590
+ mkdir -p ${pkgdir}/opt/${pkgname}
+ cp -rf * ${pkgdir}/opt/${pkgname}
+ make PREFIX=/usr DESTDIR="${pkgdir}" install
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ }
+
+