blob: 9b6254939e41d3c9c3b04ca4b6ab2caa23811842 (
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
42
43
44
|
# Maintainer: Xeechou <xeechou@gmail.com>
_pkgname=inconsolata-psf
pkgname=${_pkgname}-git
pkgver=0.1
pkgrel=1
pkgdesc="Inconsolata fonts in PSF format"
arch=('any')
url=""
license=('custom')
groups=()
depends=()
makedepends=('git')
provides=($_pkgname)
conflicts=($_pkgname)
replaces=()
backup=()
options=()
install=
source=("$_pkgname::git+https://github.com/xeechou/Inconsolata-psf.git")
noextract=()
md5sums=('SKIP') #generate with 'makepkg -g'
build() {
cd "$srcdir/$_pkgname"
msg "Starting build..."
for f in *.psf; do
echo "compress $f"
gzip $f
done
}
package() {
msg "Starting install..."
cd "$srcdir/$_pkgname"
for f in *.psf.gz; do
install -D -m644 "$f" "${pkgdir}/usr/share/kbd/consolefonts/$f"
done
}
# vim:set ts=2 sw=2 et:
|