blob: 43bed79607ed2e81a0c8ff4e39326b24a9395052 (
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: Gabriel de Oliveira <gabrielhk3 at gmail dot com>
pkgname=cp437
pkgver=0.6
pkgrel=1
pkgdesc='Emulates an old-style "code page 437" / "IBM-PC" character set terminal on a modern UTF-8 terminal emulator.'
arch=('x86_64')
url='https://github.com/keaston/cp437'
license=('custom')
source=('git+https://github.com/keaston/cp437.git')
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$pkgname"
git describe | sed 's/^v//;s/-/.r/;s/-/./'
}
build() {
cd "$srcdir/$pkgname"
make
}
package() {
cd "$srcdir/$pkgname"
install -Dm755 cp437 "$pkgdir/usr/bin/cp437"
install -Dm644 COPYRIGHT "$pkgdir/usr/share/licenses/$pkgname/COPYRIGHT"
}
|