1
0
Fork 0
forked from s3lph/matemat

Hopefully fixed PKGBUILD.

This commit is contained in:
s3lph 2018-10-19 22:10:01 +02:00
parent 9439c76f30
commit d3ee2b95a7
2 changed files with 3 additions and 2 deletions

View file

@ -91,7 +91,8 @@ build_archlinux:
- cd package/archlinux
- mv matemat/usr/bin/matemat matemat/usr/lib/matemat/matemat
- rm -rf matemat/usr/bin
- sudo -u nobody makepkg --syncdeps MATEMAT_VERSION=${MATEMAT_VERSION}
- sed -re "s/__VERSION__/${MATEMAT_VERSION}/g" -i PKGBUILD
- sudo -u nobody makepkg --syncdeps
- mv matemat-${MATEMAT_VERSION}-1-any.pkg.tar.xz "matemat-${MATEMAT_VERSION}+${CI_COMMIT_REF_NAME}-1-any.pkg.tar.xz"
artifacts:
paths:

View file

@ -2,7 +2,7 @@
# Maintainer: s3lph <account-gitlab-ideynizv@kernelpanic.lol>
pkgname=matemat
pkgver=${MATEMAT_VERSION}
pkgver=__VERSION__
pkgrel=1
arch=('any')