initial import
This commit is contained in:
31
gr-lida/PKGBUILD
Normal file
31
gr-lida/PKGBUILD
Normal file
@@ -0,0 +1,31 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=gr-lida
|
||||
pkgver=0.12.0
|
||||
pkgrel=2
|
||||
pkgdesc="Frontend for DOSBox"
|
||||
arch=('i686' 'x86_64')
|
||||
url='http://www.gr-lida.org/'
|
||||
license=('GPL-2')
|
||||
depends=('qt-base' 'qt-script' 'qt-multimedia' 'poppler-qt' 'phonon-qt')
|
||||
optdepends=('dosbox: enable support for dosbox')
|
||||
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Monthy/gr-lida/archive/refs/tags/v${pkgver}.tar.gz")
|
||||
sha512sums=('5a8ba4fc122afc5f3dfb5d02c664d683780abdf9076a0363af5b14e9629919b64afb74ee27c4e58c3b8751c74291a6425316d9a44f6b683563bad2dbad34c7a3')
|
||||
|
||||
build() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
qmake gr-lida.pro
|
||||
}
|
||||
|
||||
package(){
|
||||
cd ${pkgname}-${pkgver}
|
||||
make INSTALL_ROOT=${pkgdir} install
|
||||
|
||||
# correcting paths
|
||||
mv "${pkgdir}/usr/local/bin" "${pkgdir}/usr/"
|
||||
mv "${pkgdir}/usr/local/share" "${pkgdir}/usr/"
|
||||
rm -rf "${pkgdir}/usr/local"
|
||||
|
||||
# installing license
|
||||
install -Dm644 "${srcdir}/${pkgname}-${pkgver}/doc/COPYING.txt" -t "${pkgdir}/usr/share/licenses/$pkgname"
|
||||
}
|
||||
Reference in New Issue
Block a user