Created
June 7, 2014 22:43
-
-
Save unforgiven512/f9f8261d353b354c4d7e to your computer and use it in GitHub Desktop.
ocaml-calendar updated PKGBUILD
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: oliver < a t > first . in-berlin . de | |
# Contributor: Serge Zirukin <ftrvxmtrx@gmail.com> | |
# Contributor: Sergei Lebedev <superbobry@gmail.com> | |
# Contributor: Kostas Andreadis <kmandreadis@gmail.com> | |
# Contributor: Thomas S Hatch <thatch45 at gmail dot com> | |
# Contributor: Gerad Munsch <gmunsch@unforgivendevelopment.com> | |
pkgname=ocaml-calendar | |
pkgver=2.03.2 | |
pkgrel=4 | |
pkgdesc="OCaml library managing dates and times" | |
arch=('i686' 'x86_64') | |
url="http://calendar.forge.ocamlcore.org" | |
license=('LGPL') | |
depends=('ocaml') | |
makedepends=('ocaml-findlib') | |
source=(http://forge.ocamlcore.org/frs/download.php/915/calendar-$pkgver.tar.gz) | |
md5sums=('4f50e3c9ad0eec3d06c0457a2ba0f0b4') | |
options=('!strip') | |
#OCAMLFIND_DESTDIR=$pkgdir$(ocamlfind printconf destdir) | |
build() { | |
cd "$srcdir/calendar-$pkgver" | |
./configure --prefix=/usr | |
make all doc | |
} | |
package() { | |
cd "$srcdir/calendar-$pkgver" | |
mkdir -p "${pkgdir}$(ocamlfind printconf destdir)" | |
make OCAMLFIND_DESTDIR="${pkgdir}$(ocamlfind printconf destdir)" install | |
install -d -m 0755 "${pkgdir}/usr/share/doc/$pkgname" | |
install -t "${pkgdir}/usr/share/doc/$pkgname/" doc/* | |
install -Dm 644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment