blob: 675d0762677c90814c93e0274c3d72e942ba9f51 (
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
|
# Maintainer: ntwk <rnndxb@gmail.com>
pkgname=bdfresize
pkgver=1.5
pkgrel=2
epoch=
pkgdesc="A command to scale fonts in Bitmap Distribution Format"
arch=('i686' 'x86_64')
url="https://github.com/ntwk/bdfresize"
license=('GPL')
source=("$url/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz"
"010_ftbfs-gcc4.patch"
"020_minus-sign.patch")
sha256sums=('440cfc0620a0237e46352c14a0774caa3f3059759b0a20defefc94e8490897a6'
'b2bfe278b5719ce8b946e20372d4a8d4c6630eeb74c0212c1c454911676ecbd9'
'ee1032245a87e6821d83cfff5230585ba707f307263a56b20f0f3672686832c1')
prepare() {
cd "$pkgname-$pkgver"
patch -p1 -i "../010_ftbfs-gcc4.patch"
patch -p1 -i "../020_minus-sign.patch"
autoreconf -vfi
}
build() {
cd "$pkgname-$pkgver"
./configure --prefix=/usr
make
}
check() {
cd "$pkgname-$pkgver"
make -k check
}
package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
}
|