summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f1b8eb39392b3c36aa252c95ac3472cacc82b868 (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
52
53
54
# Maintainer: Santiago Burgos <santiago.burgos1089@gmail.com>

pkgname=mintstick
pkgver=1.6.2
pkgrel=1
pkgdesc="A graphical tool that allows you to format USB sticks and create bootable USB sticks."
arch=('any')
url="http://packages.linuxmint.com/pool/main/m/${pkgname}"
license=(GPL)
depends=(
    'coreutils'
    'desktop-file-utils'
    'dosfstools'
    'e2fsprogs'
    'exfatprogs'
    'glib2'
    'gtk3'
    'ntfs-3g'
    'parted'
    'polkit'
    'procps-ng'
    'python'
    'python-dbus'
    'python-gobject'
    'python-pyparted'
    'python-xapp'
    'python-unidecode'
    'udisks2'
    'util-linux'
    'xapp'
)
makedepends=(
    'gettext'
)
conflicts=(
    'mintstick-git'
)
source=("${pkgname}-${pkgver}.tar.xz::${url}/${pkgname}_${pkgver}.tar.xz")
sha256sums=('19f18a13c136fc01cae0d276de6aac634c91bcde4edb165f7252e68f973ca798')

package() {
    cd "$pkgname"
    #install -Dm644 lib/* -t "$pkgdir/usr/lib/$pkgname/"
    install -Dm755 lib/* -t "$pkgdir/usr/lib/$pkgname/"
    install -Dm644 "share/$pkgname"/* -t "$pkgdir/usr/share/$pkgname/"
    install -Dm644 share/applications/* -t "$pkgdir/usr/share/applications/"
    install -Dm644 share/polkit/* -t "$pkgdir/usr/share/polkit-1/actions/"
    install -Dm755 "$pkgname" mint-iso-verify -t "$pkgdir/usr/bin/"
    install -Dm644 share/nemo/actions/* -t "$pkgdir/usr/share/nemo/actions/"
    install -Dm644 share/kde4/* -t "$pkgdir/usr/share/kde4/apps/solid/actions/"
    cp -r share/icons "$pkgdir/usr/share/icons"
    install -Dm755 bin/* -t "$pkgdir/usr/bin/"
    install -Dm644 "debian/$pkgname.1" -t "$pkgdir/usr/share/man/man1/"
}