blob: cf43646ddeda6428db2aca07f8d34ca9697cad83 (
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
|
pkgname=dina-powerline
pkgver=1.0
pkgrel=3
pkgdesc="Modified versions of all Dina 13 font variants for use with vim-powerline."
arch=(any)
url="https://github.com/tampix/Dina-Powerline"
license=("custom")
depends=(fontconfig xorg-font-util)
source=("https://github.com/tampix/Dina-Powerline/archive/master.zip")
sha256sums=("32e7fbdc2cfcdc8f0fdd4770736fecb63d5f885d6c15d82c710d37d139909db9")
install=$pkgname.install
build() {
cd "Dina-Powerline-master/fonts"
for f in *.bdf; do
FILE_NAME=$(basename $f '.bdf')
PCF_FILE="$FILE_NAME-powerline.pcf"
bdftopcf $f -o "$PCF_FILE"
gzip -f $PCF_FILE
done
}
package() {
install -d "$pkgdir/usr/share/fonts/misc"
install -m644 "$srcdir/Dina-Powerline-master/fonts"/*-powerline.pcf.gz "$pkgdir/usr/share/fonts/misc/"
install -d "$pkgdir/usr/share/licenses/$pkgname"
install -m644 "$srcdir/Dina-Powerline-master/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/"
}
|