summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD26
1 files changed, 12 insertions, 14 deletions
diff --git a/PKGBUILD b/PKGBUILD
index f94a7e05aeb..21073f74621 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,23 +1,21 @@
# Contributor: Sebastian Wolf <fatmike303 at googlemail dot com>
pkgname=yape
+_pkgname=yapesdl
pkgver=0.70.2
-pkgrel=1
-_projectname=yapesdl
-_git_hash=7b2c2a123daf
-pkgdesc='A decent multiplatform Commodore plus/4 and 64 emulator written in C++ using the SDL 2.0 media API'
-arch=('i686' 'x86_64')
-url='http://yapesdl.codeplex.com'
-license=('GPL')
-depends=('sdl2')
-source=(${_projectname}::git+https://git01.codeplex.com/${_projectname})
-md5sums=(SKIP)
+pkgrel=2
+pkgdesc="Multiplatform Commodore 64 and 264 family emulator written in C++ using SDL2"
+arch=(i686 x86_64)
+url=https://github.com/calmopyrin/yapesdl
+license=(GPL)
+depends=(sdl2)
+source=(https://github.com/calmopyrin/${_pkgname}/archive/v${pkgver}.tar.gz)
+sha256sums=(daecce901b6465c55889094f67f0b4147a95008305f159a32302689fdcad69a6)
build() {
- cd ${srcdir}/${_projectname}
- git reset --hard ${_git_hash}
- make
+ cd ${srcdir}/${_pkgname}-${pkgver}
+ make
}
package() {
- install -Dm755 ${srcdir}/${_projectname}/${_projectname} ${pkgdir}/usr/bin/${pkgname}
+ install -Dm755 ${srcdir}/${_pkgname}-${pkgver}/${_pkgname} ${pkgdir}/usr/bin/${pkgname}
}