feat: update archlinux build

update archlinux build

Log:
This commit is contained in:
justforlxz 2022-06-21 16:55:05 +08:00 committed by 爱折腾的小竹同学
parent 903db8a019
commit 7947860818
1 changed files with 30 additions and 0 deletions

30
archlinux/PKGBUILD Normal file
View File

@ -0,0 +1,30 @@
# Maintainer: justforlxz <justforlxz@gmail.com>
pkgname=dtkcore-git
pkgver=5.5.23.r5.g74f86b0
pkgrel=1
pkgdesc='DTK core modules'
arch=('x86_64' 'aarch64')
url="https://github.com/linuxdeepin/dtkcore"
license=('LGPL3')
depends=('dconf' 'deepin-desktop-base-git' 'python' 'gsettings-qt' 'lshw')
makedepends=('git' 'qt5-tools' 'gtest' 'dtkcommon-git')
conflicts=('dtkcore')
provides=('dtkcore')
groups=('deepin-git')
source=('source.tar.gz')
sha512sums=('SKIP')
prepare() {
cd $deepin_source_name
}
build() {
cd $deepin_source_name
qmake-qt5 PREFIX=/usr DTK_VERSION=$pkgver LIB_INSTALL_DIR=/usr/lib
make
}
package() {
cd $deepin_source_name
make INSTALL_ROOT="$pkgdir" install
}