blob: 3d94658d33f0bcb47112441d89a83c79c7b21322 (
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
40
41
42
43
44
45
46
|
#Maintainer: Sam Peters <dev at libertycloud dot de>
# Contributor: Dan McCurry <dan.mc at protonmail dot com>
pkgname=profex
pkgver=5.4.1
pkgrel=1
year=2024
month=11
pkgdesc="A program for Rietveld refinement of powder X-ray diffraction data."
arch=('i686' 'x86_64')
url="https://profex.doebelin.org"
license=('GPL2')
groups=('science')
depends=('qt6-5compat'
'qt6-declarative'
'qt6-svg')
optdepends=('bgmn: the needed backend for the program, not required to build or start the program')
provides=('profex')
conflicts=('profex')
source=("https://www.profex-xrd.org/wp-content/uploads/${year}/${month}/${pkgname}-${pkgver}.tar.gz"
'profex.desktop')
sha256sums=('bb14e8f69531540b714f00c650065f1226e0aba67f576c999a3028cf0e3740ed'
'8d4e73987458eb9d1453c3bfe839a90ea1f5c15a0872ea5a35d0b532231d9194')
build() {
cd "$pkgname-$pkgver"
qmake6 PREFIX=${pkgdir}/usr -r profex.pro
make -j 8
}
package() {
cd ${srcdir}
install -Dm644 "${pkgname}.desktop" \
"${pkgdir}/usr/share/applications/${pkgname}.desktop"
cd "$pkgname-$pkgver"
install -Dm644 "profex/icons/${pkgname}5.png" \
"${pkgdir}/usr/share/pixmaps/${pkgname}.png"
make install
mkdir -p "${pkgdir}/usr/bin"
install -Dm755 ${srcdir}/${pkgname}-${pkgver}/bin/* "${pkgdir}/usr/bin/"
}
|