summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 680e406396ac72a3b12583efcf2c72dfd311c0fb (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
# Maintainer: Your Name <Alinajafian81@gmail.com>


pkgname=rutilt-bin
pkgver=0.18.0
pkgrel=6
pkgdesc="a Gtk+ program designed to set up any wireless network interface, find and connect to networks in range and get some information such as the quality of association etc that is primally written for Ralink devices"
arch=('x86_64' 'i386')
url=""
license=('GPL')
depends=('gtk2')
makedepends=()
provides=(rutilt-bin)
conflicts=(rutilt-bin)
options=('!strip')

source_x86_64=( "http://cz.archive.ubuntu.com/ubuntu/pool/universe/r/rutilt/rutilt_0.18-0ubuntu7_amd64.deb" 
		  			"rutilt.desktop")
source_i386=( "http://cz.archive.ubuntu.com/ubuntu/pool/universe/r/rutilt/rutilt_0.18-0ubuntu7_i386.deb" 
				 	"rutilt.desktop")


sha256sums_x86_64=('3ea81728d1d5412adba7cdbdbe7a1dfc6214f7ee25c36cb87b2e1e0d478db781' 'SKIP')
sha256sums_i386=('SKIP' 'SKIP')

prepare()
{
	cd $srcdir
	tar -xf data.tar.xz
}


package() 
{
	cd "$srcdir"
	
	install -d $pkgdir/usr/
	cp -r $srcdir/usr/share $pkgdir/usr/
	
	# I disabled the theme integration because this is an old app and does not work with new gtk3/4 apps.
	rm $pkgdir/usr/share/applications/rutilt.desktop
	cp $srcdir/rutilt.desktop $pkgdir/usr/share/applications/
	
	install -d $pkgdir/usr/bin/
	install -Dm755 $srcdir/usr/bin/rutilt $pkgdir/usr/bin/rutilt
	install -Dm755 $srcdir/usr/bin/rutilt_helper $pkgdir/usr/bin/rutilt_helper
	
	echo done
}