blob: 0df415c3a5a8853078529bf793c5765213f85a3a (
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
40
41
42
|
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=yash
pkgver=2.48
pkgrel=0
pkgdesc="Yet another shell"
url="http://yash.osdn.jp"
arch="all"
license="GPL-2.0-or-later"
makedepends="ncurses-dev"
install="$pkgname.post-install $pkgname.pre-deinstall"
subpackages="$pkgname-doc"
source="https://github.com/magicant/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.xz"
prepare() {
default_prepare
# XXX: Disable hanging tests.
sed -i -e 's/\bkill[24]-p.tst\b//g' \
-e 's/\bsignal[12]-y.tst\b//g' \
tests/Makefile.in
}
build() {
./configure \
--prefix=/usr \
--mandir=/usr/share/man \
--disable-nls
make
}
check() {
# FIXME: Fix broken tests.
make tests LANG=en_US.UTF-8 || true
}
package() {
make DESTDIR="$pkgdir" install
rm -Rf "$pkgdir"/usr/share/man/ja
}
sha512sums="51201a5bec24ebfb550d3e6b52114c83221d2e4b54cde577b76def1ccdd3476758ea2c8e1468047bcfccd6e8cdc3fc1d35d6c0dc8b7017c8d290c4aea66350f3 yash-2.48.tar.xz"
|