asdil12 / PKGBUILD secret
Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

qthid

View PKGBUILD
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
# Contributor: [Vitaliy Berdinskikh](mailto:ur6lad@archlinux.org.ua) aka UR6LAD
 
pkgname=qthid
pkgver=4.0
pkgrel=1
pkgdesc="Qthid is a control application for the Funcube Dongle software defined radio receiver."
arch=('i686' 'x86_64')
url="https://github.com/csete/qthid"
license=('GPL')
depends=('qt4>=4.6')
makedepends=('intltool')
options=('!emptydirs')
source=("$pkgname-$pkgver.tar.gz::https://codeload.github.com/csete/qthid/tar.gz/v$pkgver"
"20-fcd.rules"
"qthid.desktop")
 
sha256sums=('cef790808fe1f0a2255ee3a3f2392cac2a0f145f1141995e6a0c1c6cc8ac04e8'
'490fdc3e16c8d6ae38894896f622531e2bf617963165ce2430a3c132d91ba5e5'
'd825a3bbfd6fb1bf6a36b135c73b464072042184f1a446cf21a3b168e1186fd0')
 
build() {
cd $srcdir/$pkgname-$pkgver
qmake-qt4
make
}
 
package() {
cd $srcdir
install -D -m644 20-fcd.rules $pkgdir/etc/udev/rules.d/20-fcd.rules
install -D -m644 qthid.desktop $pkgdir/usr/share/applications/qthid.desktop
 
cd $pkgname-$pkgver
 
install -D -m755 $pkgname $pkgdir/usr/bin/$pkgname
install -D -m644 images/qthid.png $pkgdir/usr/share/pixmaps/qthid.png
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.