diff options
author | Ting-Wei Lan <lantw44@gmail.com> | 2013-07-18 00:37:12 +0800 |
---|---|---|
committer | Ting-Wei Lan <lantw44@gmail.com> | 2013-07-18 00:37:39 +0800 |
commit | 7e8ab04ea8040c8283f29e238a96d971695d12cd (patch) | |
tree | a136f5046a976c382961bb1d9f2cd06f73de7183 /guix/PKGBUILD | |
parent | 633f6e47d8f7f2547a6362647573aa69adc67762 (diff) | |
download | AUR4-PKGBUILD-7e8ab04ea8040c8283f29e238a96d971695d12cd.tar AUR4-PKGBUILD-7e8ab04ea8040c8283f29e238a96d971695d12cd.tar.gz AUR4-PKGBUILD-7e8ab04ea8040c8283f29e238a96d971695d12cd.tar.bz2 AUR4-PKGBUILD-7e8ab04ea8040c8283f29e238a96d971695d12cd.tar.lz AUR4-PKGBUILD-7e8ab04ea8040c8283f29e238a96d971695d12cd.tar.xz AUR4-PKGBUILD-7e8ab04ea8040c8283f29e238a96d971695d12cd.tar.zst AUR4-PKGBUILD-7e8ab04ea8040c8283f29e238a96d971695d12cd.zip |
guix: 0.2 -> 0.3
Diffstat (limited to 'guix/PKGBUILD')
-rw-r--r-- | guix/PKGBUILD | 28 |
1 files changed, 12 insertions, 16 deletions
diff --git a/guix/PKGBUILD b/guix/PKGBUILD index 5375e22..cf55ce3 100644 --- a/guix/PKGBUILD +++ b/guix/PKGBUILD @@ -2,36 +2,32 @@ # Modified from guix-git 20130119 PKGBUILD pkgname=guix -pkgver=0.2 -pkgrel=2 +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/guix/guix-0.2.tar.gz') -md5sums=('4bdbbd736d0bbcb6cd7e28220c4ea1fe') +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 \ + ./configure --prefix=/usr --localstatedir=/var \ --disable-rpath --with-system=${current_arch}-linux - make + make } -# guix-0.2 cannot pass all tests because of some strange problems. -# eg. build.sh or bipvm5958i36 not found - -#check() { -# cd ${srcdir}/${pkgname}-${pkgver} -# make -k -j1 check -#} +check() { + cd ${srcdir}/${pkgname}-${pkgver} + make -k -j1 chec +} package() { cd ${srcdir}/${pkgname}-${pkgver} - make DESTDIR="${pkgdir}" install -# only required if enabling check() -# chmod -R u+w test-tmp + make DESTDIR="${pkgdir}" install + chmod -R u+w test-tmp } |