mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-23 18:14:51 +08:00
m64py: switch to pacman hooks #74
This commit is contained in:
parent
4944f62fda
commit
ba4112eb90
@ -1,17 +1,16 @@
|
|||||||
pkgname=m64py
|
pkgname=m64py
|
||||||
pkgver=0.2.4
|
pkgver=0.2.4
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="QT5 front-end for Mupen64Plus in Python"
|
pkgdesc="Qt5 front-end for Mupen64Plus in Python"
|
||||||
arch=("any")
|
arch=("x86_64")
|
||||||
url="https://github.com/mupen64plus"
|
url="https://github.com/mupen64plus"
|
||||||
license=("GPL")
|
license=("GPL")
|
||||||
depends=('mupen64plus' 'sdl2' 'python3-pyqt5' 'python3-pysdl2' 'desktop-file-utils' 'libxkbcommon-x11')
|
depends=('mupen64plus' 'sdl2' 'python3-pyqt5' 'python3-pysdl2' 'desktop-file-utils' 'libxkbcommon-x11')
|
||||||
makedepends=('python3-setuptools' 'python2-pyqt5')
|
makedepends=('python3-setuptools' 'python2-pyqt5')
|
||||||
install='m64py.install'
|
|
||||||
source=("https://github.com/mupen64plus/mupen64plus-ui-python/releases/download/${pkgver}/m64py-${pkgver}.tar.gz")
|
source=("https://github.com/mupen64plus/mupen64plus-ui-python/releases/download/${pkgver}/m64py-${pkgver}.tar.gz")
|
||||||
sha256sums=('38c175587f6bb1984586584f27faad72ac3db7fed4bbbbdf26b3c75bfd0a6ce4')
|
sha256sums=('38c175587f6bb1984586584f27faad72ac3db7fed4bbbbdf26b3c75bfd0a6ce4')
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$srcdir/$pkgname-$pkgver"
|
cd $pkgname-$pkgver
|
||||||
python3 setup.py install --optimize=1 --prefix=/usr --root="${pkgdir}/"
|
python3 setup.py install --optimize=1 --prefix=/usr --root="${pkgdir}/"
|
||||||
}
|
}
|
||||||
|
@ -1,11 +0,0 @@
|
|||||||
post_install() {
|
|
||||||
update-desktop-database -q
|
|
||||||
}
|
|
||||||
|
|
||||||
post_upgrade() {
|
|
||||||
update-desktop-database -q
|
|
||||||
}
|
|
||||||
|
|
||||||
post_remove() {
|
|
||||||
update-desktop-database -q
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user