blob: 9075add92e4b53f62f625d6afe1c03aec5e97a10 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Contributor: thorsten w. <p@thorsten-wissmann.de>
# Maintainer: aksr <aksr at t-com dot me>
pkgname=ctris
pkgver=0.42.1
pkgrel=3
pkgdesc='A colorized, small and flexible Tetris(TM)-clone for the console written in C, using the ncurses-library.'
arch=('i686' 'x86_64')
url='https://github.com/dominikhackl/ctris'
license=('GPL')
depends=('ncurses')
source=("https://github.com/dominikhackl/$pkgname/archive/v${pkgver}.tar.gz")
md5sums=('b739f716c2cbfed0bb28719b269f1cc7')
sha1sums=('6f7640da5543a8558aad87f3da57b3bfa5896fd5')
sha256sums=('c5fe3e70b76129ea83cac85a3c5dbc084066a62d7ef4edcc73c545ee89222ed8')
prepare() {
cd "$srcdir/$pkgname-$pkgver"
sed -i '11s/^/extern /' brick.h
sed -i '47s/^/extern /;48s/^/extern /' ctris.h
}
build() {
cd "$srcdir/$pkgname-$pkgver"
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make BINDIR=$pkgdir/usr/bin/ DESTDIR=$pkgdir install
}
|