blob: 2a7596f6d43f08e1737073ce87a1407800620bbd (
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
|
# Maintainer: Michael Koloberdin <koloberdin@gmail.com>
pkgname=urweb
pkgver=20160805
pkgrel=1
pkgdesc="Ur/Web: purely functional language/framework for web programming"
arch=('i686' 'x86_64')
url="http://www.impredicative.com/ur/"
license=('BSD')
makedepends=('curl' 'mlton')
depends=('libmysqlclient' 'postgresql-client' 'sqlite3' 'openssl' 'uthash')
source=("http://www.impredicative.com/ur/$pkgname-$pkgver.tgz"
"use-system-uthash.patch")
md5sums=('25e7baf698a27ff93910d3752275afe6'
'23f6f18b7bdbb7ff7c1497734513737e')
prepare() {
cd "$pkgname-$pkgver"
patch -p1 -i "$srcdir/use-system-uthash.patch"
}
build() {
cd "$pkgname-$pkgver"
./configure --prefix=/usr
make
}
check() {
cd "$pkgname-$pkgver"
make -k check
}
package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
}
|