mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-12 01:24:39 +08:00
29 lines
1.0 KiB
Bash
29 lines
1.0 KiB
Bash
# Apps Packages for Chakra, part of www.chakra-project.org
|
|
# Maintainer: H W Tovetjärn (totte) <totte@tott.es>
|
|
# Contributor: Leif Warner <abimelech@gmail.com>
|
|
|
|
_hkgname=xmonad-utils
|
|
pkgname=xmonad-utils
|
|
pkgver=0.1.3.2
|
|
pkgrel=1
|
|
pkgdesc="A small collection of X utilities"
|
|
url="http://hackage.haskell.org/package/${_hkgname}"
|
|
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/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
|
|
md5sums=('272df719d3dbbc354e969683a9090fda')
|
|
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}
|
|
install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
|
|
rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE
|
|
}
|