blob: b097294cf8d05aab9d81af06345e846f5c329ec1 (
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
|
# Maintainer: Torge Matthies <openglfreak at googlemail dot com>
# Contributor: Mort Yao <soi@mort.ninja>
pkgname=posh
pkgver=0.14.1
pkgrel=1
pkgdesc="A stripped-down version of pdksh that aims for compliance with Debian's policy, and few extra features."
arch=('i686' 'x86_64')
url='https://salsa.debian.org/clint/posh'
license=('custom')
depends=('glibc')
install="$pkgname".install
source=(http://deb.debian.org/debian/pool/main/p/posh/posh_"$pkgver".tar.xz)
sha256sums=('3584292529b0d8274ccc76adf1acefcca8ad9a1a5d7d7448f099c129401ffa3c')
build() {
cd "$srcdir/$pkgname-$pkgver"
printf 'define(POSH_VERSION, %s)\n' "$pkgver" > acinclude.m4
unset CPPFLAGS
autoreconf -fi
./configure --prefix=/usr --mandir=/usr/share/man
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make prefix="$pkgdir" bindir="$pkgdir/usr/bin" mandir="$pkgdir/usr/share/man" install
install -D -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|