blob: ca83da2bbb497ad33bf24da5c286168b75264117 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Maintainer: justforlxz <justforlxz@gmail.com>
pkgname=disomaster-git
pkgver=5.0.7.r2.g157dd8f
pkgrel=1
pkgdesc='Library to manipulate DISC burning.'
arch=('x86_64' 'aarch64')
url="https://github.com/linuxdeepin/disomaster"
license=('GPL3')
depends=('libisoburn')
makedepends=('git' 'qt5-tools')
groups=('deepin-git')
provides=('disomaster')
conflicts=('disomaster')
source=("$pkgname::git+https://github.com/linuxdeepin/disomaster")
sha512sums=('SKIP')
pkgver() {
cd $pkgname
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd $pkgname
if [[ ! -z ${sha} ]];then
git checkout -b $sha
fi
}
build() {
cd ${pkgname}
qmake-qt5 PREFIX=/usr
make
}
package() {
cd ${pkgname}
make INSTALL_ROOT="$pkgdir" install
}
|