# Contributor: Cág # Maintainer: Cág pkgname=pcsxr pkgver=1.9.92 pkgrel=1 pkgdesc="Sony PlayStation emulator" url="https://pcsxr.codeplex.com/" arch="all" license="GPL-3.0" depends="libtxc_dxtn" makedepends="autoconf automake libglade-dev libtool gtk+2.0-dev sdl-dev mesa-dev libxv-dev libxtst-dev nasm libxxf86vm-dev" subpackages="$pkgname-doc $pkgname-lang" source="http://http.debian.net/debian/pool/main/p/pcsxr/pcsxr_1.9.92.orig.tar.bz2" builddir="$srcdir/$pkgname-$pkgver" prepare() { cd "$builddir" default_prepare ./autogen.sh } build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --target=$CTARGET \ --prefix=/usr \ --enable-opengl make } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="25b0caa1cc3715afddedfef7c069f4d334ce9f6bef9355c813c60b1462a2b68634d517a31373823d64a815bec4449234d13edb6ff5159f746820124d1993ef4c pcsxr_1.9.92.orig.tar.bz2"