summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fd445cb592703dbfc3c175d5eab3b579dd37f52e (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
# Maintainer: Uffe Jakobsen
# Contributor: Oliver Jaksch <arch-aur _at_ com-in dot de>

pkgname=prog-express-beta
_pkgname=prog-express
pkgver=3.8.9
pkgrel=1
pkgdesc="Prog-Express is a control software for the Batronix USB programming devices to program FLASH/PROM/EPROM/EEPROM chips. Playground for upcoming betas."
arch=('i686' 'x86_64')
url="https://www.batronix.com/"
license=('LicenseRef-Freeware')
depends=('xz' 'libarchive' 'mono' 'mono-basic' 'libusb' 'sqlite' 'libgdiplus' 'gtk-sharp-2')
conflicts=('prog-express')

source_i686=(${url}/exe/Batronix/Prog-Express/deb/${_pkgname}-${pkgver}-${pkgrel}.i386.deb)
source_x86_64=(${url}/exe/Batronix/Prog-Express/deb/${_pkgname}-${pkgver}-${pkgrel}.amd64.deb)

sha256sums_i686=('72bb235845d828a48f1cc62054b8b18269cf5e012b724335862d2604f69ec2e2')
sha256sums_x86_64=('65eb70c96df77ab0e01b484572bdb204df6e2c471760f883e9073064bb87aa72')

package()
{
    cd "${pkgdir}"

    tar xf "${srcdir}/data.tar.xz"
    cp -r lib/* usr/lib/
    cp -r usr/sbin/* usr/bin/
    rm -rf lib/ usr/sbin/

    mkdir -p "${pkgdir}/usr/share/licenses/${pkgname}/"
    cp "${pkgdir}/usr/share/doc/prog-express/copyright" "${pkgdir}/usr/share/licenses/${pkgname}/"
}



# https://gitweb.gentoo.org/repo/gentoo.git/diff/app-misc/prog-express/prog-express-3.8.5.ebuild?id=a55e308443586760f0af3be437f626bd2c54380c