[arch-commits] Commit in (4 files)
Felix Yan
felixonmars at archlinux.org
Tue Jun 27 14:59:36 UTC 2017
Date: Tuesday, June 27, 2017 @ 14:59:35
Author: felixonmars
Revision: 241207
addpkg: hledger-api 1.2-1
Added:
hledger-api/
hledger-api/repos/
hledger-api/trunk/
hledger-api/trunk/PKGBUILD
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Added: hledger-api/trunk/PKGBUILD
===================================================================
--- hledger-api/trunk/PKGBUILD (rev 0)
+++ hledger-api/trunk/PKGBUILD 2017-06-27 14:59:35 UTC (rev 241207)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+pkgname=hledger-api
+pkgver=1.2
+pkgrel=1
+pkgdesc="Web API server for the hledger accounting tool"
+url="http://hledger.org"
+license=("GPL")
+arch=('i686' 'x86_64')
+depends=('ghc' 'hledger' "haskell-hledger-lib" "haskell-aeson" "haskell-decimal" "haskell-docopt"
+ "haskell-either" "haskell-microlens" "haskell-microlens-platform" "haskell-safe"
+ "haskell-servant-server" "haskell-servant-swagger" "haskell-swagger2" "haskell-text"
+ "haskell-wai" "haskell-wai-extra" "haskell-warp")
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('09e76fbfbd036738ac456a9dc3d5844dd5d87eb52df42cb18691273265148ed00acf382fece80eb637e59afc1eca5b76e27bcc70781a67209eabc58c9bab7cf4')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ runhaskell Setup configure -O --enable-executable-dynamic \
+ --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname"
+ runhaskell Setup build
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ runhaskell Setup copy --destdir="${pkgdir}"
+ rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}
Property changes on: hledger-api/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list