summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJ5lx2015-10-10 15:27:16 +0200
committerJ5lx2015-10-10 15:27:16 +0200
commit6824e79eb5fb33ddab3c70283e8c4bbf7977becd (patch)
tree9f8ba28feded7b6ca48c02acc1e761f8ceb28a50
downloadaur-6824e79eb5fb33ddab3c70283e8c4bbf7977becd.tar.gz
0.3.0-1: Initial package
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD29
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..51f67bd7954
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = ocaml-cry
+ pkgdesc = OCaml native module for icecast/shoutcast source protocol(s)
+ pkgver = 0.3.0
+ pkgrel = 1
+ url = https://github.com/savonet/ocaml-cry
+ arch = i686
+ arch = x86_64
+ license = GPL2
+ makedepends = ocaml-findlib
+ depends = ocaml
+ options = !strip
+ source = https://github.com/savonet/ocaml-cry/releases/download/0.3.0/ocaml-cry-0.3.0.tar.gz
+ md5sums = 5730b72e4be65b657caad27c38c0c103
+
+pkgname = ocaml-cry
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..cd120cea77b
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Jakob Gahde <j5lx@fmail.co.uk>
+
+pkgname=ocaml-cry
+pkgver=0.3.0
+pkgrel=1
+license=('GPL2')
+arch=('i686' 'x86_64')
+pkgdesc=("OCaml native module for icecast/shoutcast source protocol(s)")
+url="https://github.com/savonet/ocaml-cry"
+depends=('ocaml')
+makedepends=('ocaml-findlib')
+source=("https://github.com/savonet/ocaml-cry/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+options=('!strip')
+md5sums=('5730b72e4be65b657caad27c38c0c103')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ ./configure
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ export OCAMLFIND_DESTDIR="${pkgdir}$(ocamlfind printconf destdir)"
+ mkdir -p "${OCAMLFIND_DESTDIR}"
+ make install
+}