blob: a3ffb5577a59cb783e8d49b36c8d5c6c9acff7fe (
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
|
# Maintainer: Felix Golatofski <contact@xdfr.de>
# Contributor: GI_Jack <iamjacksemail@hackermail.com>
pkgname=ctypes-sh
pkgver=1.2
pkgrel=1
pkgdesc="ctypes.sh is a bash plugin that allows you to call routines in shared libraries from within bash"
arch=('i686' 'x86_64')
url="https://github.com/taviso/ctypes.sh/wiki"
license=('MIT')
depends=('bash' 'libffi')
source=("https://github.com/taviso/ctypes.sh/releases/download/v${pkgver}/ctypes-sh-${pkgver}.tar.gz")
sha256sums=('8896334f5fa88f656057bff807ec6921c8f76fc6de801d996d2057fcb18b3a68')
build() {
cd "$pkgname-$pkgver"
./configure --prefix=/usr
make
}
check() {
cd "$pkgname-$pkgver"
make -k check
}
package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
}
|