diff options
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1,10 +1,10 @@ | |||
1 | # Maintainer: mar77i <mysatyre at gmail dot com> | 1 | # Maintainer: mar77i <mar77i at mar77i dot ch> |
2 | # Past Maintainer: Gaetan Bisson <bisson@archlinux.org> | 2 | # Past Maintainer: Gaetan Bisson <bisson@archlinux.org> |
3 | # Contributor: Scytrin dai Kinthra <scytrin@gmail.com> | 3 | # Contributor: Scytrin dai Kinthra <scytrin@gmail.com> |
4 | 4 | ||
5 | pkgname=st-git | 5 | pkgname=st-git |
6 | _pkgname=st | 6 | _pkgname=st |
7 | pkgver=20160309.3996461 | 7 | pkgver=0.7.1.g023225e |
8 | pkgrel=1 | 8 | pkgrel=1 |
9 | pkgdesc='Simple virtual terminal emulator for X' | 9 | pkgdesc='Simple virtual terminal emulator for X' |
10 | url='http://git.suckless.org/st/' | 10 | url='http://git.suckless.org/st/' |
@@ -13,6 +13,7 @@ license=('MIT') | |||
13 | options=('zipman') | 13 | options=('zipman') |
14 | depends=('libxft') | 14 | depends=('libxft') |
15 | makedepends=('ncurses' 'libxext' 'git') | 15 | makedepends=('ncurses' 'libxext' 'git') |
16 | epoch=1 | ||
16 | # include config.h and any patches you want to have applied here | 17 | # include config.h and any patches you want to have applied here |
17 | source=('git://git.suckless.org/st') | 18 | source=('git://git.suckless.org/st') |
18 | sha1sums=('SKIP') | 19 | sha1sums=('SKIP') |
@@ -22,7 +23,7 @@ conflicts=("${_pkgname}") | |||
22 | 23 | ||
23 | pkgver() { | 24 | pkgver() { |
24 | cd "${_pkgname}" | 25 | cd "${_pkgname}" |
25 | git log -1 --format='%cd.%h' --date=short | tr -d - | 26 | git describe --tags |sed 's/-/./g' |
26 | } | 27 | } |
27 | 28 | ||
28 | prepare() { | 29 | prepare() { |