summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3d9f73bacae3a4bf385ba0330dab2d469a78be7e (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
# Maintainer: mirandir <mirandir@orange.fr>

pkgname=magiccollection
pkgver=0.8.10
pkgrel=1
pkgdesc="Magic Collection is a small program to manage your collection of Magic: the Gathering cards (software in french only)."
arch=('any')
license=('GPL3')
depends=('gtk3' 'python' 'python-gobject' 'python-lxml')
url="http://mirandir.pagesperso-orange.fr/magiccollection/"
source=(http://mirandir.pagesperso-orange.fr/files/"$pkgname"_"$pkgver".tar.xz)
sha256sums=('824002df04385619a28e4e194b621bde92a7bfe0ef08002056f4656bdfb57f67')

package() {
        cd "$srcdir"

        install -d $pkgdir/usr/share/{applications,magiccollection}
        install -d $pkgdir/usr/share/magiccollection/{images,functions,signals}
        cp -r images/* $pkgdir/usr/share/magiccollection/images/
        cp -r functions/* $pkgdir/usr/share/magiccollection/functions/
        cp -r signals/* $pkgdir/usr/share/magiccollection/signals/
        
        cp globals.py $pkgdir/usr/share/magiccollection
        cp gpl3.txt $pkgdir/usr/share/magiccollection
        cp magic_collection.glade $pkgdir/usr/share/magiccollection
        cp magic_collection.py $pkgdir/usr/share/magiccollection
        cp mclogo.png $pkgdir/usr/share/magiccollection
        cp mclogo_min.png $pkgdir/usr/share/magiccollection
        cp buttonlogomenu.css $pkgdir/usr/share/magiccollection
        cp magiccollection.desktop $pkgdir/usr/share/applications
}