mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-25 02:52:13 +08:00
40 lines
1.0 KiB
Bash
40 lines
1.0 KiB
Bash
#
|
|
# Apps Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# Maintainer: Adrián Chaves Frenández (Gallaecio) <adriyetichaves gmail.com>
|
|
|
|
|
|
pkgname=darcs
|
|
pkgver=2.8.4
|
|
pkgrel=1
|
|
pkgdesc="Decentralized replacement for CVS with roots in quantum mechanics."
|
|
arch=('x86_64')
|
|
url="http://darcs.net"
|
|
license=('GPL')
|
|
depends=('curl' 'gmp' 'ncurses>=5.6-7')
|
|
makedepends=('ghc' 'haskell-tar' 'haskell-text' 'haskell-hashed-storage<0.6' 'haskell-haskeline' 'haskell-html' 'haskell-parsec<3.2' 'haskell-regex-compat' 'haskell-random' 'haskell-vector')
|
|
source=("http://darcs.net/releases/$pkgname-$pkgver.tar.gz")
|
|
md5sums=('7456b7957add1b04c49de1b72c137a77')
|
|
|
|
build() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
runhaskell Setup.lhs configure \
|
|
--ghc \
|
|
--prefix=/usr \
|
|
--disable-library-for-ghci \
|
|
--libsubdir=\$compiler/site-local/\$pkgid
|
|
|
|
runhaskell Setup.lhs build
|
|
}
|
|
|
|
package() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
|
|
runhaskell Setup.lhs copy \
|
|
--destdir=$pkgdir
|
|
|
|
rm -r $pkgdir/usr/lib/
|
|
chmod 755 $pkgdir/usr/share/man/man1/$pkgname.1
|
|
}
|
|
|