blob: 10c08835faedd36fa16c0f3e610ba1c1cefd837e (
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
|
# Maintainer: mirandir <mirandir@orange.fr>
pkgname=magiccollection
pkgver=0.8.114
pkgrel=1
pkgdesc="Magic Collection is a small program to manage your collection of Magic: the Gathering cards."
arch=('any')
license=('GPL3')
depends=('gtk3' 'python' 'python-gobject')
url="http://mirandir.pagesperso-orange.fr/magiccollection/"
source=(http://mirandir.pagesperso-orange.fr/files/"$pkgname"_"$pkgver".tar.xz)
sha256sums=('45d9edba1bd5cf6024b31af6c5404cf91225a73e389819392882609f1bbdb446')
package() {
cd "$srcdir"
install -d $pkgdir/usr/share/{applications,magiccollection}
install -d $pkgdir/usr/share/magiccollection/{functions,images,objects,translations}
install -d $pkgdir/usr/share/icons/hicolor
cp -r functions/* $pkgdir/usr/share/magiccollection/functions/
cp -r images/* $pkgdir/usr/share/magiccollection/images/
cp -r objects/* $pkgdir/usr/share/magiccollection/objects/
cp -r translations/* $pkgdir/usr/share/magiccollection/translations/
cp -r icons_os/hicolor/* $pkgdir/usr/share/icons/hicolor/
cp defs.py $pkgdir/usr/share/magiccollection
cp gpl3.txt $pkgdir/usr/share/magiccollection
cp magic_collection.py $pkgdir/usr/share/magiccollection/magic_collection
chmod +x $pkgdir/usr/share/magiccollection/magic_collection
cp README.md $pkgdir/usr/share/magiccollection/README
cp magiccollection.desktop $pkgdir/usr/share/applications
}
|