summaryrefslogblamecommitdiffstats
path: root/guix/PKGBUILD
blob: 0d1ce426d5690285fcd389e9407cfad26bae165d (plain) (tree)
1
2
3
4
5
6
7
8
9
10



                                           

          



                                                         
                                                             
              

                                                                         



                                         
                                                        
                                                                   
            

 

                                         
                         
 


                                         

                                        
 
# Maintainer: lantw44 (at) gmail (dot) com
# Modified from guix-git 20130119 PKGBUILD 

pkgname=guix
pkgver=0.3
pkgrel=1
pkgdesc="GNU guix is a purely functional package manager"
arch=('x86_64' 'i686')
url="https://www.gnu.org/software/guix/"
license=('GPL')
depends=('guile>=2.0.5' 'sqlite>=3.6.19' 'bzip2' 'libgcrypt')
makedepends=()
source=("ftp://alpha.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz")
md5sums=('1112e55273ce47cb89ccbdedb2d431f6')

build() {
    current_arch="`uname -m`"
    cd ${srcdir}/${pkgname}-${pkgver}
    ./configure --prefix=/usr --localstatedir=/var \
        --disable-rpath --with-system=${current_arch}-linux
    make
}

check() {
    cd ${srcdir}/${pkgname}-${pkgver}
    make -k -j1 check
}

package() {
    cd ${srcdir}/${pkgname}-${pkgver}
    make DESTDIR="${pkgdir}" install
    chmod -R u+w test-tmp
}