diff options
author | Thorsten Wißmann | 2016-01-28 17:04:27 +0100 |
---|---|---|
committer | Thorsten Wißmann | 2016-01-28 17:04:27 +0100 |
commit | 43da998adf59def2d6a9b7c3ee8c0edf5a5e987f (patch) | |
tree | 0eb5ae7d74397e8256be34f1abb215d5a572f01b | |
download | aur-43da998adf59def2d6a9b7c3ee8c0edf5a5e987f.tar.gz |
Import from AUR3
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 34 |
2 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..b182b2b6f83e --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +# Generated by mksrcinfo v8 +# Thu Jan 28 16:04:19 UTC 2016 +pkgbase = ocaml-fileutils + pkgdesc = A library to provide pure OCaml functions to manipulate real file and filename. + pkgver = 0.4.5 + pkgrel = 1 + url = http://forge.ocamlcore.org/projects/ocaml-fileutils + arch = i686 + arch = x86_64 + license = LGPL + makedepends = ocaml-findlib + makedepends = ocaml-ounit + depends = ocaml + source = http://forge.ocamlcore.org/frs/download.php/892/ocaml-fileutils-0.4.5.tar.gz + md5sums = 1f43b9333358f47660318bfbe9ae68bf + +pkgname = ocaml-fileutils + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b40fecf12440 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: Thorsten Wißmann <edu@thorsten-wissmann.de> +# Contributor: Serge Zirukin <ftrvxmtrx@gmail.com> +# Contributor: Sergei Lebedev <superbobry@gmail.com> +# Contributor: Magnus Therning <magnus@therning.org> +# Contributor: Thomas Pani <thomas.pani@gmail.com> + +pkgname=ocaml-fileutils +pkgver=0.4.5 +oldver=0.4.4 +pkgrel=1 +pkgdesc="A library to provide pure OCaml functions to manipulate real file and filename." +arch=('i686' 'x86_64') +url="http://forge.ocamlcore.org/projects/ocaml-fileutils" +license=('LGPL') +depends=('ocaml') +makedepends=('ocaml-findlib' 'ocaml-ounit') +source=(http://forge.ocamlcore.org/frs/download.php/892/ocaml-fileutils-$pkgver.tar.gz) +md5sums=('1f43b9333358f47660318bfbe9ae68bf') + +build() { + cd "$srcdir/$pkgname-$oldver" + + ./configure --disable-debug --prefix /usr --destdir "$pkgdir" + make all +} + +package() { + cd "$srcdir/$pkgname-$oldver" + + export OCAMLFIND_DESTDIR="$pkgdir/$(ocamlfind printconf destdir)" + install -dm 755 "$OCAMLFIND_DESTDIR" + make install + install -Dm 644 COPYING.txt "$pkgdir/usr/share/licenses/$pkgname/COPYING" +} |