blob: 6bb917c93f79069a63d4d959d57cf90e32079515 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Maintainer: Klaus-Dieter Schmatz <tucuxir at sapo dot pt>
pkgname=st-tucuxi-git
pkgver=0.8.2.r76.g8956136
pkgrel=1
pkgdesc="A customized ST build"
arch=("x86_64")
url="https://gitlab.com/tuxaua/st"
license=("MIT")
groups=()
depends=("libx11" "libxft")
makedepends=("ncurses" "libxext" "git")
optdepends=()
provides=("st")
conflicts=("st")
replaces=()
backup=()
options=()
install=
source=("${pkgname%-git}::git+https://gitlab.com/tuxaua/st.git")
md5sums=("SKIP")
pkgver() {
cd "${pkgname%-git}"
git describe --long --tags | sed -E 's/([^-]*-g)/r\1/;s/-/./g'
}
build() {
cd "${pkgname%-git}"
make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11
}
package() {
cd "${pkgname%-git}"
make PREFIX=/usr DESTDIR="$pkgdir" install
}
# vim:set ts=2 sw=2 et:
|