blob: 44a9125ea553ac8853f269ff983af7595a3e77d8 (
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
|
# Maintainer: B.C. van Zuiden <zuiden@ilorentz.org>
_pkgname=pallache
pkgname=${_pkgname}-git
pkgver=1.0
pkgrel=3
pkgdesc="A small and simple header only math parser library (with rlwrapped interface)"
arch=(any)
url="http://github.com/originalsouth/pallache"
license=('unknown')
makedepends=('git')
provides=('pallache')
source=('git+https://github.com/originalsouth/pallache.git')
md5sums=('SKIP')
build()
{
make -C ${_pkgname}
}
package()
{
mkdir -p "$pkgdir/usr/include/"
install -m 655 ${_pkgname}/pallache.h "$pkgdir/usr/include/pallache.h"
mkdir -p "$pkgdir/usr/bin/"
install -m 755 ${_pkgname}/pallache "$pkgdir/usr/bin/pallache-bin"
printf '#!/usr/bin/env sh\nrlwrap /usr/bin/pallache-bin $@\nexit 0\n' > "${_pkgname}/pallache_wrap"
install -m 755 ${_pkgname}/pallache_wrap "$pkgdir/usr/bin/pallache"
}
|