[aur-requests] [PRQ#23318] Merge Request for profex

notify at aur.archlinux.org notify at aur.archlinux.org
Tue Jan 26 16:23:34 UTC 2021


volkodev [1] filed a merge request for profex [2]:

# Maintainer: Dan McCurry <dan.mc at protonmail dot com>
pkgname=profex
pkgver=4.3.0
pkgrel=1
pkgdesc="A program for Rietveld refinement of powder X-ray diffraction
data."
arch=('i686' 'x86_64')
url="http://profex.doebelin.org"
license=('GPL2')
groups=('science')
depends=(#'bgmn'
        'qt5-declarative'
        'qt5-svg')
provides=('profex')
conflicts=('profex')
source=("https://www.profex-xrd.org/wp-
content/uploads/2021/01/${pkgname}-${pkgver}.tar.gz"
        "local://profex.desktop")
md5sums=('de27ab5dc62d050e604443dbe3e1247a'
         'd67ab02738497d00e200af6ee572d92b')

prepare() {
        cd "$pkgname-$pkgver"
}

build() {
        cd "$pkgname-$pkgver"
        qmake PREFIX=${pkgdir}/usr -r profex.pro
        make -j 4
}

package() {
        cd ${srcdir}
        install -Dm644 "${pkgname}.desktop" \
                "${pkgdir}/usr/share/applications/${pkgname}.desktop"

        cd "$pkgname-$pkgver"
        install -Dm644 "src/icons/${pkgname}.png" \
                "${pkgdir}/usr/share/pixmaps/${pkgname}.png"

        make install

        install -Dm755 "src/profex" "${pkgdir}/usr/bin/profex"
}

[1] https://aur.archlinux.org/account/volkodev/
[2] https://aur.archlinux.org/pkgbase/profex/


More information about the aur-requests mailing list