diff options
author | FabioLolix | 2020-08-30 23:03:37 +0200 |
---|---|---|
committer | FabioLolix | 2020-08-30 23:03:37 +0200 |
commit | 8a2990aeaf137b0a7cd637da29908fd4494ce5e2 (patch) | |
tree | d266a379d75af4d2e13a93681f6123b1811733be | |
parent | 4f9119118c51009f0eb8a34e179c8ab7a2d5ca90 (diff) | |
download | aur-bitkeeper.tar.gz |
v7.3.3, build from source
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | PKGBUILD | 39 |
2 files changed, 23 insertions, 28 deletions
@@ -1,16 +1,16 @@ pkgbase = bitkeeper pkgdesc = a fast, enterprise-ready, distributed SCM - pkgver = 7.3.2 + pkgver = 7.3.3 pkgrel = 1 url = http://www.bitkeeper.org arch = i686 arch = x86_64 - license = Apache 2.0 + license = Apache + makedepends = gperf depends = libxft - source_i686 = https://github.com/bitkeeper-scm/bitkeeper/releases/download/bk-7.3.2/bk-7.3.2-x86-glibc219-linux.bin - sha256sums_i686 = f327b28a5ffe34988a2c4f738d33f8ebe86e29043167dfdec096657ce4e19981 - source_x86_64 = https://github.com/bitkeeper-scm/bitkeeper/releases/download/bk-7.3.2/bk-7.3.2-x86_64-glibc219-linux.bin - sha256sums_x86_64 = 7fe084cec862d297254793399a537344b054fd8efeb174d9cc6269f85c24b745 + depends = libtomcrypt + source = bitkeeper-7.3.3-5695c0d0ecd062f13542c3cb04dd872466774fbf.tar.gz::https://github.com/bitkeeper-scm/bitkeeper/archive/5695c0d0ecd062f13542c3cb04dd872466774fbf.tar.gz + sha256sums = 297f54b41222c27e4990dce1e51b4fb45971fb8ff88973a52c3808f5b5b2464c pkgname = bitkeeper @@ -1,31 +1,26 @@ -# Maintainer: gspu <bssbk2455[at]gmail[dot]com> +# Maintainer: Fabio 'Lolix' Loli <fabio.loli@disroot.org> -> https://github.com/FabioLolix +# Contributor: gspu <bssbk2455[at]gmail[dot]com> pkgname=bitkeeper -pkgver=7.3.2 +pkgver=7.3.3 pkgrel=1 pkgdesc="a fast, enterprise-ready, distributed SCM" -arch=("i686" "x86_64") -license=("Apache 2.0") -depends=("libxft") +arch=(i686 x86_64) url="http://www.bitkeeper.org" +license=(Apache) +depends=(libxft libtomcrypt) +makedepends=(gperf) +_commit=5695c0d0ecd062f13542c3cb04dd872466774fbf +source=("${pkgname}-${pkgver}-${_commit}.tar.gz::https://github.com/bitkeeper-scm/bitkeeper/archive/${_commit}.tar.gz") +sha256sums=('297f54b41222c27e4990dce1e51b4fb45971fb8ff88973a52c3808f5b5b2464c') -source_i686=("https://github.com/bitkeeper-scm/bitkeeper/releases/download/bk-${pkgver}/bk-${pkgver}-x86-glibc219-linux.bin") -source_x86_64=("https://github.com/bitkeeper-scm/bitkeeper/releases/download/bk-${pkgver}/bk-${pkgver}-x86_64-glibc219-linux.bin") - -sha256sums_i686=('f327b28a5ffe34988a2c4f738d33f8ebe86e29043167dfdec096657ce4e19981') -sha256sums_x86_64=('7fe084cec862d297254793399a537344b054fd8efeb174d9cc6269f85c24b745') +build () { + cd "${srcdir}/${pkgname}-${_commit}" + make +} package() { - _arch=${CARCH} - if [ "${_arch}" == "i686" ]; then - _arch=x86 - fi - - chmod +x ${srcdir}/bk-${pkgver}-${_arch}-glibc219-linux.bin - ${srcdir}/bk-${pkgver}-${_arch}-glibc219-linux.bin ${pkgdir}/opt/bitkeeper - - mkdir -p $pkgdir/usr/bin - ln -s /opt/bitkeeper/bk ${pkgdir}/usr/bin - - chmod go-w -R ${pkgdir}/* + cd "${srcdir}/${pkgname}-${_commit}" + make DESTDIR="${pkgdir}" install } + |