blob: a2d67886142c51475812a033c7f0576ae0f5dd00 (
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
|
# Maintainer: Gomasy <nyan@gomasy.jp>
_pkgname=sl
pkgname=erutaso
pkgver=r27.bd3a103
pkgrel=2
pkgdesc='Eru Chitanda runs across your terminal when you type "erutaso" as you meant to type "ls".'
arch=('i686' 'x86_64')
url="https://github.com/sgymtic/sl"
license=('custom')
depends=('ncurses')
makedepends=('git')
source=("git+$url.git")
md5sums=('SKIP')
pkgver() {
cd $_pkgname
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd $_pkgname
cc $CFLAGS -o erutaso sl.c -lcurses
gzip -9 -f erutaso.1
}
package() {
cd $_pkgname
install -Dm 775 erutaso "$pkgdir/usr/bin/erutaso"
install -Dm 644 erutaso.1.gz "$pkgdir/usr/share/man/man1/erutaso.1.gz"
install -Dm 644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|