summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8ca3dd14fad1ba2d7a9675a901a4d405fc771881 (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
# Maintainer: éclairevoyant
# Contributor: Daniel Mario <github.com/limadm>
# Contributor: Fredrick Brennan <copypaste at kittens dot ph>

pkgname=bdf2psf
pkgver=1.221
pkgrel=1
epoch=1
pkgdesc='Debian utility to convert BDF font files to PSF format'
arch=('any')
url="https://packages.debian.org/unstable/$pkgname"
depends=('perl')
license=('GPL2')
source=("https://deb.debian.org/debian/pool/main/c/console-setup/${pkgname}_${pkgver}_all.deb"
       "0001-print-help-when-no-args-provided.patch")
b2sums=('745966acf4167f63ef1b8e668d68f13d54b8179226e11f692fc5b16ff5b08fd1b671666f0bd73a66e0939b771cf23fef39538b70f2c6822a5ffd6959b235cbbc'
        '332248177ed0f2caf12fe4d2ccc44d973b52ba9c6c47735976e281e5a05cf43ff375e7a68ec7fe07f0d7c7a7c363e0bd68f7b3a723ed1287063443ce456fe071')

prepare() {
	tar -xvf data.tar.xz "./usr/bin/$pkgname"
	patch -Np1 -i 0001-print-help-when-no-args-provided.patch
}

package() {
	tar -xvf data.tar.xz -C "$pkgdir" --exclude './usr/bin'
	install -Dm755 usr/bin/$pkgname -t "$pkgdir/usr/bin/"
}