aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2016-08-13 17:28:43 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2016-08-13 17:28:43 +0000
commitd5b51bc40f38a995fe88547fd4cf21d8766fb7c9 (patch)
treecc1162b17683d84936644a7acedf0ec8fbfc1308
parent2c5733517e0bfbaf127eace6e01e601c95eb779b (diff)
downloadaports-d5b51bc40f38a995fe88547fd4cf21d8766fb7c9.tar.gz
aports-d5b51bc40f38a995fe88547fd4cf21d8766fb7c9.tar.bz2
aports-d5b51bc40f38a995fe88547fd4cf21d8766fb7c9.tar.xz
main/micro-tetris: update source
-rw-r--r--main/micro-tetris/APKBUILD15
1 files changed, 9 insertions, 6 deletions
diff --git a/main/micro-tetris/APKBUILD b/main/micro-tetris/APKBUILD
index ab0c7932e2..479ca4cba7 100644
--- a/main/micro-tetris/APKBUILD
+++ b/main/micro-tetris/APKBUILD
@@ -10,22 +10,25 @@ depends=
makedepends=
install=
subpackages=
-source="ftp://troglobit.com/tetris/tetris-$pkgver.tar.bz2"
+source="$pkgname-$pkgver.tar.gz::https://github.com/troglobit/tetris/archive/$pkgver.tar.gz"
+
+builddir="$srcdir"/tetris-$pkgver
-_builddir="$srcdir"/tetris-$pkgver
prepare() {
- cd "$_builddir"
+ cd "$builddir"
sed -i -e "/install/s:bin/tetris:usr/bin/tetris:" Makefile
}
build() {
- cd "$_builddir"
+ cd "$builddir"
make || return 1
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install
}
-md5sums="759812594d3227769ee30630703695f5 tetris-1.2.1.tar.bz2"
+md5sums="c4d1e4919f76de0eae173a837b9d3925 micro-tetris-1.2.1.tar.gz"
+sha256sums="b421e788ad1c7b4cc0e2086a3170d541a1ccc993ce11e3c1434ac0b750661288 micro-tetris-1.2.1.tar.gz"
+sha512sums="05859ddfbf4a333a3d190b1bdf116b64aa0de737ff966ba4bb5eb7df27663732aae847ec96e94a2f20ed7d800c2e4b5df1eb6c0d891b27cd31ddc1456002248e micro-tetris-1.2.1.tar.gz"