]> git.immae.eu Git - perso/Immae/Config/AUR.git/blobdiff - PKGBUILD
update .SRCINFO and tag checksum
[perso/Immae/Config/AUR.git] / PKGBUILD
index 32caae74c69e4bfa84566d605df8b629245a5086..7d9b4dfcdf42e01080bad07727e3bb1e3f7778d5 100644 (file)
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,18 +1,19 @@
-# Maintainer: mar77i <mysatyre at gmail dot com>
+# Maintainer: mar77i <mar77i at mar77i dot ch>
 # Past Maintainer: Gaetan Bisson <bisson@archlinux.org>
 # Contributor: Scytrin dai Kinthra <scytrin@gmail.com>
 
 pkgname=st-git
 _pkgname=st
-pkgver=20160309.3996461
+pkgver=0.7.9.g8c99915
 pkgrel=1
 pkgdesc='Simple virtual terminal emulator for X'
-url='http://git.suckless.org/st/'
+url='http://st.suckless.org/'
 arch=('i686' 'x86_64')
 license=('MIT')
 options=('zipman')
 depends=('libxft')
 makedepends=('ncurses' 'libxext' 'git')
+epoch=1
 # include config.h and any patches you want to have applied here
 source=('git://git.suckless.org/st')
 sha1sums=('SKIP')
@@ -22,7 +23,7 @@ conflicts=("${_pkgname}")
 
 pkgver() {
        cd "${_pkgname}"
-       git log -1 --format='%cd.%h' --date=short | tr -d -
+       git describe --tags |sed 's/-/./g'
 }
 
 prepare() {
@@ -38,7 +39,6 @@ prepare() {
                -e 's/CFLAGS =/CFLAGS +=/g' \
                -e 's/LDFLAGS =/LDFLAGS +=/g' \
                -e 's/_BSD_SOURCE/_DEFAULT_SOURCE/' \
-               -e 's/\(-lXft\)/\1 -lXrender/' \
                -i config.mk
        sed '/@tic/d' -i Makefile
        for file in "${source[@]}"; do