blob: eb4efd12a7bbf825ee96a068b2721f1571091887 (
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
38
39
40
41
|
# Maintainer: Nathan Isom <Nahanisom27 at gmail [dot] com >
# derived from st-git aur package.
_pkgname=xst
pkgname=${_pkgname}-git
epoch=1
pkgver=0.10.0.r0.g1d2f295
pkgrel=1
pkgdesc='st fork fork with xresources support and other patches'
url='https://github.com/neeasade/xst'
arch=('i686' 'x86_64')
license=('MIT')
depends=('libxft')
makedepends=('ncurses' 'libxext' 'git')
source=("git+https://github.com/gnotclub/${_pkgname}.git")
sha1sums=('SKIP')
provides=(
${_pkgname}
)
conflicts=(
"${_pkgname}"
)
pkgver() {
cd "${srcdir}/${_pkgname}"
git describe --long --tags --always | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "${srcdir}/${_pkgname}"
make clean
make
}
package() {
cd "${srcdir}/${_pkgname}"
make PREFIX=/usr DESTDIR="${pkgdir}" install
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -Dm644 readme.org "${pkgdir}/usr/share/doc/${pkgname}/README"
}
|