diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 19 |
1 files changed, 13 insertions, 6 deletions
@@ -1,23 +1,30 @@ -# Maintainer: Konstantin Shalygin <k0ste@cn.ru> -# Contributor: Konstantin Shalygin <k0ste@cn.ru> +# Maintainer: Konstantin Shalygin <k0ste@k0ste.ru> +# Contributor: Konstantin Shalygin <k0ste@k0ste.ru> pkgname='phantom' -pkgver=r18.614029e -pkgrel=2 +pkgver=r22.63981f1 +pkgrel=1 pkgdesc='Scalable I/O engine' arch=('i686' 'x86_64') url="https://github.com/yandex-load/${pkgname}" license=('LGPL2.1') depends=('openssl') makedepends=('git' 'gcc' 'binutils' 'openssl') -source=("${pkgname}::git+${url}.git") -sha256sums=('SKIP') +source=("${pkgname}::git+${url}.git" +"${pkgname}_gcc8.patch") +sha256sums=('SKIP' + 'a57e7292fcd4788b3b37e175dffebbe0478da7198fc0b438b37d64ffc85aa986') pkgver() { cd "${srcdir}/${pkgname}" printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } +prepare() { + cd "${srcdir}/${pkgname}" + patch -p1 -i "${srcdir}/${pkgname}_gcc8.patch" +} + build(){ cd "${srcdir}/${pkgname}" make -R all |