summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9d7e7de30ace62a4ea1ac45263747d2a9488d981 (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
47
48
49
50
51
# Maintainer: not_anonymous <nmlibertarian@gmail.com>

pkgname=editcp
pkgver=1.0.22
pkgrel=1
pkgdesc="TYT MD380/390, Retivis RT3, & Alinco DJ-MD40 CPS (Ham/Amateur Radio)"
arch=('x86_64')
url="https://www.farnsworth.org/dale/codeplug/editcp/"
license=('GPL3')
depends=('qt5ct' 'qt5-tools' 'qt5-speech' 'qt5-webengine' \
 'libspeechd' 'libmariadbclient' 'postgresql-libs' 'gtk3' \
 'unixodbc' 'qt5-serialport' 'qt5-wayland' 'hamradio-menus')
install=editcp.install
source=(https://www.farnsworth.org/dale/codeplug/editcp/downloads/\
linux/$pkgname-$pkgver.tar.xz
https://github.com/DaleFarnsworth/codeplug/raw/master/editcp/logo/editcp_32x32_01.png
	diff.editcp.sh
	$pkgname.1
        $pkgname.desktop)

prepare () {
	cd $srcdir/$pkgname-$pkgver

	patch -p0 < ../diff.editcp.sh
}

package() {
	cd $srcdir/$pkgname-$pkgver

	install -d $pkgdir/usr/share/$pkgname

	cp -a * $pkgdir/usr/share/$pkgname

	mkdir -p $pkgdir/usr/bin
	install -D -m 755 ../$pkgname.1 $pkgdir/usr/bin/$pkgname

	mkdir -p $pkgdir/usr/share/{applications,pixmaps}
	install -D -m 644 ../${pkgname}_32x32_01.png $pkgdir/usr/share/pixmaps/$pkgname.png
	install -D -m 644 ../$pkgname.desktop \
	 $pkgdir/usr/share/applications/.
}
md5sums=('08f5e8165127492c18fe374bbae652d3'
         'd8563d34bd6be7d13a9137f8f80b86e2'
         '66f7cbc8cb62f9d95d8dc9924c728363'
         '6c9b1f8f43dedb505699b4648cc558a5'
         '1cb585e3e2a4f1f6fc7a2fcb139bc6d4')
sha256sums=('b91823a66880927563a0c0fd7a715a8dd06b4baf0313d110bd8040257e881f18'
            'f219b7708dc3d749b174cba8a0e5a466b7086ae36dd296050b1bb48fcce10107'
            'fc150f7779a66a717b838770f62eb3d3343f6b123a34f3300070af0f70b538c5'
            '9822a5e7f7fc179c6a1b98f5886797d91dd0d0d82e465a0a812e445539e9f2f4'
            '66b78e446e7580ffca6a84b4335bcad6a689faeb6910f61a9ef9951ebc4174b4')