summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 958ed563a5e23266b3dec138f1e6f5e1bdb91d09 (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
# Maintainer: <andrew dot myers at wanadoo  dot fr>
pkgname=vpacman
pkgver=1.4.9
pkgrel=1
pkgdesc="A Graphical front end for pacman and the AUR"
arch=('any')
url="https://gitlab.com/AndyM48/vpacman"
license=('GPL')
depends=('tcl' 'tk' 'wmctrl')
optdepends=('pkgfile: for faster retrieval of package files'
			'xorg-xwininfo: for fine control of terminal windows'
			'gnome-terminal: preconfigured terminal emulator'
			'konsole: preconfigured terminal emulator'
			'lxterminal: preconfigured terminal emulator'
			'mate-terminal: preconfigured terminal emulator'
			'qterminal: preconfigured terminal emulator'
			'roxterm: preconfigured terminal emulator'
			'vte: preconfigured terminal emulator'
			'xfce4-terminal: preconfigured terminal emulator'
			'xterm: preconfigured terminal emulator (default)'
			)
source=(https://gitlab.com/AndyM48/$pkgname/-/archive/$pkgver/$pkgname-$pkgver.tar.gz)
md5sums=('05bf2ec76191ff3ed002bcfce94b578f')

package() {
    cd "$srcdir/$pkgname-$pkgver"
#   /usr/share/vpacman
    install -d "$pkgdir"/usr/share/vpacman
    install -m755 vpacman.tcl "$pkgdir"/usr/share/vpacman
    install -m644 README.txt "$pkgdir"/usr/share/vpacman
#   /usr/share/pixmaps/vpacman
    install -d "$pkgdir"/usr/share/pixmaps/vpacman
    install -d "$pkgdir"/usr/share/pixmaps/vpacman/medium
    install -d "$pkgdir"/usr/share/pixmaps/vpacman/small
    install -d "$pkgdir"/usr/share/pixmaps/vpacman/tiny
    install -m644 icons/medium/* "$pkgdir"/usr/share/pixmaps/vpacman/medium
    install -m644 icons/small/* "$pkgdir"/usr/share/pixmaps/vpacman/small
    install -m644 icons/tiny/* "$pkgdir"/usr/share/pixmaps/vpacman/tiny
#   /usr/bin
    install -d "$pkgdir"/usr/bin
    install -m755 vpacman "$pkgdir"/usr/bin/
#   /usr/share/applications
    install -d "$pkgdir"/usr/share/applications
    install -m644 vpacman.desktop "$pkgdir"/usr/share/applications/
}