diff options
author | Bruno Cichon <ebrasca@librepanther.com> | 2018-10-01 01:51:29 +0200 |
---|---|---|
committer | Bruno Cichon <ebrasca@librepanther.com> | 2018-10-01 01:51:29 +0200 |
commit | 9bdcd4c3d22da95e94780454614436082e0eea7d (patch) | |
tree | c8755fe8c20be0043d67099bfb357c904c513cff /pcr | |
parent | 56f955aca6231693fe797de4793f77ed58ab116e (diff) | |
parent | 60149d4be1633dd72cba35fcfc29bcf9f117e6fd (diff) | |
download | abslibre-9bdcd4c3d22da95e94780454614436082e0eea7d.tar.gz abslibre-9bdcd4c3d22da95e94780454614436082e0eea7d.tar.bz2 abslibre-9bdcd4c3d22da95e94780454614436082e0eea7d.zip |
Merge branch 'master' of git://git.parabola.nu/abslibre/abslibre
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/guile-sqlite3/PKGBUILD | 30 | ||||
-rw-r--r-- | pcr/guix/PKGBUILD | 25 |
2 files changed, 47 insertions, 8 deletions
diff --git a/pcr/guile-sqlite3/PKGBUILD b/pcr/guile-sqlite3/PKGBUILD new file mode 100644 index 000000000..364b8ba49 --- /dev/null +++ b/pcr/guile-sqlite3/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer (AUR): lantw44 (at) gmail (dot) com +# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe> + +pkgname=guile-sqlite3 +pkgver=0.1.0 +pkgrel=1 +pkgdesc='Guile bindings for the SQLite3 database engine' +arch=('x86_64' 'i686' 'armv7h') +url="https://notabug.org/civodul/guile-sqlite3" +license=('LGPL3') +depends=('guile' 'sqlite3') +source=("https://notabug.org/civodul/${pkgname}/archive/v${pkgver}.tar.gz") +sha256sums=('7501cd60bc693e581dc3e153f418279e1e1637c0760bc4524af6eb2d8eac2fe9') + +build() { + cd "${srcdir}/${pkgname}" + autoreconf -fi + ./configure --prefix=/usr + make +} + +check() { + cd "${srcdir}/${pkgname}" + make check +} + +package() { + cd "${srcdir}/${pkgname}" + make DESTDIR="${pkgdir}" install +} diff --git a/pcr/guix/PKGBUILD b/pcr/guix/PKGBUILD index f1c279ec4..531634a69 100644 --- a/pcr/guix/PKGBUILD +++ b/pcr/guix/PKGBUILD @@ -9,7 +9,7 @@ # gpg --recv-keys 3CE464558A84FDC69DB40CFB090B11993D9AEBB5 pkgname=guix -pkgver=0.14.0 +pkgver=0.15.0 pkgrel=1 pkgdesc="A purely functional package manager for the GNU system" arch=('x86_64' 'i686' 'armv7h') @@ -18,12 +18,14 @@ license=('GPL3') options=('!strip') makedepends=( 'bash-completion' + 'fish' 'guile-json' 'guile-ssh>=0.10.2' 'help2man') depends=( 'guile>=2.0.9' 'guile-git-lib' + 'guile-sqlite3' 'sqlite>=3.6.19' 'bzip2' 'gnutls' @@ -48,8 +50,8 @@ source=( ) install="${pkgname}.install" sha1sums=( - '1bc53c49d88600d63a1f195707a6f2cb0df83123' - '1c3ce54c829b93d6f9cb72367c1f669b6b5f381f' + 'b971e19b539f3f27f675bc1d7cfc126065a7d61c' + '1284dfdebc290c7d02921b0251ce2347a9263bb9' 'SKIP' 'SKIP' 'SKIP' @@ -97,20 +99,27 @@ prepare() { } build() { - local bash_completion_dir="`pkg-config --variable=completionsdir bash-completion`" + local bash_completion_dir="$(pkg-config --variable=completionsdir bash-completion)" + local fish_completion_dir="$(pkg-config --variable=completionsdir fish)" cd "${srcdir}/${pkgname}-${pkgver}" - ./configure --prefix=/usr --sbindir=/usr/bin \ + ./configure --prefix=/usr --sbindir=/usr/bin --sysconfdir=/etc \ --libexecdir="/usr/lib/${pkgname}" --localstatedir=/var \ - --sysconfdir=/etc --with-bash-completion-dir="${bash_completion_dir}" \ + --with-bash-completion-dir="${bash_completion_dir}" \ + --with-fish-completion-dir="${fish_completion_dir}" \ --disable-rpath make } check() { + # FIXME: There are too many failed tests and upstream developers haven't + # made any response. All tests are temporarily skipped for now. + # https://debbugs.gnu.org/32098 + return 0 + cd "${srcdir}/${pkgname}-${pkgver}" # Check whether the current working directory is too long - cwd_str="$(pwd)" - cwd_len="${#cwd_str}" + local cwd_str="$(pwd)" + local cwd_len="${#cwd_str}" if [ "${cwd_len}" -gt 46 ]; then error "${cwd_str} is too long." error "The working directory cannot be longer than 46 bytes." |