summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: aad403f77ec6a8aa2bf39d2a2375f58e67c25b3c (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
# Maintainer: Jaume Delclòs <jaume@delclos.com>
pkgname=red-alien
pkgver=2.0.1
pkgrel=1
pkgdesc="A script compiler and editor for Pokémon GBA ROMs"
arch=(any)
url="https://www.cosarara.me/redalien/"
license=('GPL3')
depends=('python' 'python-qscintilla-qt5' 'python-pyqt5')
options=(!emptydirs)
install=red-alien.install
source=("https://github.com/cosarara/red-alien/archive/v${pkgver}.tar.gz")
md5sums=('0db33927e08dbb67c7b9b234e57e3ceb')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  python setup.py build
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
  install -Dm644 utils/red-alien.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/red-alien.svg"
  install -Dm644 utils/red-alien.desktop "$pkgdir/usr/share/applications/red-alien.desktop"
  install -Dm644 utils/red-alien.xml "$pkgdir/usr/share/mime/packages/red-alien.xml"
}

# vim:set ts=2 sw=2 et: