Verified Commit f027a417 authored by Dhruvin Gandhi's avatar Dhruvin Gandhi
Browse files

[INCOMPLETE] testing/guix: new aport

parent 4d08bdb8
# Contributor: Dhruvin Gandhi <contact@dhruvin.dev>
# Maintainer: Dhruvin Gandhi <contact@dhruvin.dev>
pkgname=guix
pkgver=1.3.0
pkgrel=0
pkgdesc="An advanced package manager for the GNU operating system"
url="https://guix.gnu.org"
arch="all"
license="GPL-3.0-or-later"
depends="
guile-avahi
guile-gcrypt
guile-git
guile-gnutls
guile-json
guile-lzlib
guile-sqlite3
guile-zlib
"
_daemon_makedepends="
libgcrypt-dev
sqlite-dev
"
_gnu_compat_makedepends="
argp-standalone
bash
coreutils
"
_undocumented_makedepends="
po4a
"
makedepends="
$_daemon_makedepends
$_gnu_compat_makedepends
$_undocumented_makedepends
autoconf
automake
gettext-dev
graphviz-dev
guile-dev
texinfo
"
subpackages="$pkgname-dev $pkgname-doc"
source="https://git.savannah.gnu.org/cgit/guix.git/snapshot/guix-$pkgver.tar.gz"
build() {
./bootstrap
LIBS="/usr/lib/libintl.so /usr/lib/libargp.a" ./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--with-courage \
--with-bash-completion-dir=/usr/share/bash-completion/completions \
--with-zsh-completion-dir=/usr/share/zsh/site-functions \
--with-fish-completion-dir=/usr/share/fish/completions
make SHELL=/bin/bash guix-daemon
}
check() {
make SHELL=/bin/bash check
}
package() {
make SHELL=/bin/bash DESTDIR="$pkgdir"
}
sha512sums="
88013bf33835ecb4c9bdad4c90f175e90e888b7367830273f9209195e6282ca20668ead7a72cd00f52b823df151b3d8890b389dffcd2e961a3eb5d2e2e23a350 guix-1.3.0.tar.gz
"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment