aboutsummaryrefslogblamecommitdiffstats
path: root/main/micro-tetris/APKBUILD
blob: 479ca4cba75783b10eb9a717f384c8417705c095 (plain) (tree)
1
2
3
4
5
6
7

                                                   

            
                                                             
                                         
          




             


                                                                                            
 
           
                      



                                                                  
                      



                        
                      


                                      


                                                                                                                                                                        
# Maintainer: Natanael Copa <ncopa@alpinepinux.org>
pkgname=micro-tetris
pkgver=1.2.1
pkgrel=0
pkgdesc="Micro Tetris, based on 1989 IOCCC Obfuscated Tetris"
url="https://github.com/troglobit/tetris"
arch="all"
license="ISC"
depends=
makedepends=
install=
subpackages=
source="$pkgname-$pkgver.tar.gz::https://github.com/troglobit/tetris/archive/$pkgver.tar.gz"

builddir="$srcdir"/tetris-$pkgver

prepare() {
	cd "$builddir"
	sed -i -e "/install/s:bin/tetris:usr/bin/tetris:" Makefile
}

build() {
	cd "$builddir"
	make || return 1
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

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"