X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=PKGBUILD;h=1bd003de48731d005ec396a44dc156f62cd66b8f;hb=549b41de1c97e612195bb4c06d050009f3e09825;hp=32caae74c69e4bfa84566d605df8b629245a5086;hpb=278ae33272f0cafa397c5da57a29eaf4aa7f609a;p=perso%2FImmae%2FConfig%2FAUR.git diff --git a/PKGBUILD b/PKGBUILD index 32caae7..1bd003d 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,10 +1,10 @@ -# Maintainer: mar77i +# Maintainer: mar77i # Past Maintainer: Gaetan Bisson # Contributor: Scytrin dai Kinthra pkgname=st-git _pkgname=st -pkgver=20160309.3996461 +pkgver=0.7.1.g023225e pkgrel=1 pkgdesc='Simple virtual terminal emulator for X' url='http://git.suckless.org/st/' @@ -13,6 +13,7 @@ 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