summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorObscureScience2016-04-13 13:25:19 +0200
committerObscureScience2016-04-13 13:25:19 +0200
commit03da8137a7d6e29c21c66e4419e225ec15b7156e (patch)
tree27c2e19c42a7637f96aa0a677a1ea99800ad971d
downloadaur-03da8137a7d6e29c21c66e4419e225ec15b7156e.tar.gz
Fix maintainter field
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD44
2 files changed, 65 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..f16008fd9cd
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = urweb-git
+ pkgdesc = Full stack web framework based on a functional programming language
+ pkgver = 20160330.1278321
+ pkgrel = 1
+ url = http://www.impredicative.com/ur/
+ arch = i686
+ arch = x86_64
+ license = BSD
+ makedepends = mlton
+ makedepends = openssl
+ makedepends = git
+ optdepends = postgrsql
+ optdepends = mariadb
+ optdepends = sqlite
+ provides = urweb
+ conflicts = urweb
+ source = git://github.com/urweb/urweb.git
+ md5sums = SKIP
+
+pkgname = urweb-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..04cd1bdf3e8
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,44 @@
+# Maintainer: _ <_ at gmail dot com>
+
+pkgname=urweb-git
+_pkgname=urweb
+pkgver=20160330.1278321
+pkgrel=1
+pkgdesc='Full stack web framework based on a functional programming language'
+url='http://www.impredicative.com/ur/'
+arch=('i686' 'x86_64')
+license=('BSD')
+depends=()
+optdepends=('postgrsql' 'mariadb' 'sqlite')
+makedepends=('mlton' 'openssl' 'git')
+source=('git://github.com/urweb/urweb.git')
+md5sums=('SKIP')
+
+provides=("${_pkgname}")
+conflicts=("${_pkgname}")
+
+pkgver() {
+ cd "${srcdir}/${_pkgname}"
+ git log -1 --format='%cd.%h' --date=short | tr -d -
+}
+
+prepare() {
+ cd "${srcdir}/${_pkgname}"
+ ./autogen.sh
+ ./configure --without-emacs --prefix=/usr
+}
+
+build() {
+ cd "${srcdir}/${_pkgname}"
+ make
+}
+
+package() {
+ cd "${srcdir}/${_pkgname}"
+ make PREFIX=/usr DESTDIR="${pkgdir}" install
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README"
+}
+md5sums=('SKIP')
+md5sums=('SKIP')
+md5sums=('SKIP')