blob: 5cdd511d0c12c26d0451a9acbd2e656bb2fd7251 (
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
|
pkgname='jmk-x11-fonts-git'
pkgdesc="Jim's Fonts for X"
pkgver=r5.29ae539
pkgrel=3
license=('GPL')
url='http://nikolas.us.to/jmkfonts/'
arch=('any')
source=("${pkgname}::git+https://github.com/nikolas/jmk-x11-fonts.git")
sha512sums=('SKIP')
makedepends=('imake' 'xorg-mkfontdir' 'xorg-bdftopcf' 'git')
conflicts=('jmk-x11-fonts')
provides=('jmk-x11-fonts')
pkgver () {
cd "${pkgname}"
(
set -o pipefail
git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
)
}
build () {
cd "${pkgname}"
xmkmf
make
}
package () {
cd "${pkgname}"
make install DESTDIR="${pkgdir}"
}
|