diff options
author | Arthur Zamarin | 2015-06-08 11:42:34 +0300 |
---|---|---|
committer | Arthur Zamarin | 2015-06-08 11:42:34 +0300 |
commit | 14cbd6ec608ae25a04120f7a08b660a4b240f93e (patch) | |
tree | 3cc94d5e6eeffce2b5ef2c916bb76f19be01f64f /PKGBUILD | |
download | aur-hsclock.tar.gz |
Initial Commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..1be20748bf03 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Arch Haskell Team <arch-haskell@haskell.org> +_hkgname=hsclock +pkgname=hsclock +pkgver=1.0 +pkgrel=3 +pkgdesc="An elegant analog clock using Haskell, GTK and Cairo" +url="http://hackage.haskell.org/package/${_hkgname}" +license=('GPL') +arch=('i686' 'x86_64') +makedepends=('ghc' 'haskell-cairo' 'haskell-glib' 'haskell-gtk' 'haskell-old-time=1.0.0.5') +depends=('gmp') +options=('strip') +source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +build() { + cd ${srcdir}/${_hkgname}-${pkgver} + runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} -O + runhaskell Setup build +} +package() { + cd ${srcdir}/${_hkgname}-${pkgver} + runhaskell Setup copy --destdir=${pkgdir} +} +md5sums=('1b8b100f8729e8e47fe99bd18632e8d4') |