diff options
author | anthraxx | 2015-07-10 01:52:04 +0200 |
---|---|---|
committer | anthraxx | 2015-07-10 01:52:04 +0200 |
commit | 2f0ecaa78acde699733a319d402bbd80e4c15ea5 (patch) | |
tree | 880812d642544be3f1a0aa9da99d59650a742039 | |
download | aur-2f0ecaa78acde699733a319d402bbd80e4c15ea5.tar.gz |
addpkg: xmonad-utils 0.1.3.3-1
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | PKGBUILD | 24 |
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..2bb1a2acde24 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +pkgbase = xmonad-utils + pkgdesc = A small collection of X utilities + pkgver = 0.1.3.3 + pkgrel = 1 + url = http://hackage.haskell.org/package/xmonad-utils + arch = i686 + arch = x86_64 + license = custom:BSD3 + makedepends = ghc + makedepends = haskell-x11>=1.3 + makedepends = haskell-random + makedepends = haskell-unix + makedepends = glibc + depends = gmp + depends = glibc + options = strip + source = http://hackage.haskell.org/packages/archive/xmonad-utils/0.1.3.3/xmonad-utils-0.1.3.3.tar.gz + md5sums = d0ef4c556313f87c8311afd56a6e4ff9 + +pkgname = xmonad-utils + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a66eda6045de --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Leif Warner <abimelech@gmail.com> +pkgname=xmonad-utils +pkgver=0.1.3.3 +pkgrel=1 +pkgdesc="A small collection of X utilities" +url="http://hackage.haskell.org/package/${pkgname}" +license=('custom:BSD3') +arch=('i686' 'x86_64') +makedepends=('ghc' 'haskell-x11>=1.3' 'haskell-random' 'haskell-unix' 'glibc') +depends=('gmp' 'glibc') +options=('strip') +source=(http://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz) +md5sums=('d0ef4c556313f87c8311afd56a6e4ff9 ') +build() { + cd ${srcdir}/${pkgname}-${pkgver} + runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} -O + runhaskell Setup build +} +package() { + cd ${srcdir}/${pkgname}-${pkgver} + runhaskell Setup copy --destdir=${pkgdir} + install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE +} |