summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnish Vundela2020-09-25 06:59:34 +0100
committerAnish Vundela2020-09-25 06:59:34 +0100
commitb2d2ad0bf105246997d1250f67312c960a578a7d (patch)
treecd76e14a7bf744f6b2b95551b448fc860d870764
parent4a459219c391f93f248fa6ab3fe210e4425b321d (diff)
downloadaur-b2d2ad0bf105246997d1250f67312c960a578a7d.tar.gz
Initial Push
-rw-r--r--PKGBUILD56
1 files changed, 33 insertions, 23 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 0ce7476ab52..1795548c3aa 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,40 +1,50 @@
-pkgname=st-supermario9590-git
-pkgver=0.8.2.r1127.fa253f0
+# This is an example PKGBUILD file. Use this as a start to creating your own,
+# and remove these comments. For more information, see 'man PKGBUILD'.
+# NOTE: Please fill out the license field for your package! If it is unknown,
+# then please put 'unknown'.
+
+# The following guidelines are specific to BZR, GIT, HG and SVN packages.
+# Other VCS sources are not natively supported by makepkg yet.
+
+# Maintainer: Your Name <youremail@domain.com>
+pkgname=st-supermario9590-git # '-bzr', '-git', '-hg' or '-svn'
+pkgver=0.8.4
pkgrel=1
-pkgdesc="A patched and customized build of st (the Suckless simple terminal)."
-arch=(x86_64 i686)
-url="https://gitlab.com/supermario9590/st-supermario9590.git"
+pkgdesc="My custom build of suckless' ST (Simple terminal)"
+arch=('i686' 'x86_64')
+url="gitlab.com/supermario9590/st-supermario9590"
license=('MIT')
groups=()
-makedepends=(git)
-checkdepends=()
-optdepends=()
+depends=('libxft' 'nerd-fonts-mononoki' 'ttf-symbola')
+makedepends=('git') # 'bzr', 'git', 'mercurial' or 'subversion'
provides=(st)
conflicts=(st)
replaces=()
backup=()
options=()
+install=
source=("git+$url")
noextract=()
md5sums=('SKIP')
-validpgpkeys=()
+
+# Please refer to the 'USING VCS SOURCES' section of the PKGBUILD man page for
+# a description of each element in the source array.
pkgver() {
- cd "${_pkgname}"
- printf "0.8.2.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
- }
+ cd st-supermario9590
+ printf "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
- }
+ cd st-supermario9590
+ make
+}
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"
- }
-
-
+ cd st-supermario9590
+ mkdir $pkgdir/opt/$pkgname/
+ cp -rf * $pkgdir/opt/$pkgname/
+ make DESTDIR=$pkgdir/ PREFIX=/usr/ install
+ install -m644 -D LICENCE $pkgdir/usr/share/licences/$pkgname
+ install -m644 -D README.md $pkgdir/usr/share/doc/$pkgname
+}