initial import
This commit is contained in:
43
blockrage/PKGBUILD
Normal file
43
blockrage/PKGBUILD
Normal file
@@ -0,0 +1,43 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=blockrage
|
||||
pkgver=0.2.3
|
||||
pkgrel=1
|
||||
pkgdesc="Free and libre falling block puzzle game"
|
||||
arch=('i686' 'x86_64')
|
||||
url='https://blockrage.sourceforge.net/'
|
||||
license=('GPL-2')
|
||||
depends=('sdl')
|
||||
groups=('games')
|
||||
source=("https://sourceforge.net/projects/${pkgname}/files/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz"
|
||||
"fix-build.patch"
|
||||
"${pkgname}.desktop"
|
||||
"${pkgname}.png")
|
||||
sha512sums=('20ad63cb75f6f3afe482b54c5dc0487615ed9ac9a43fa3819b1da43f343c8dde6c3eb817b46b586bbfdca6ad9c9e9cb3c220f5ab536397e407250daf9fd61aa2'
|
||||
'91e0536bca368baedbeb80f392f1fe82d3e99ae2ede22155dc43166d9717955ac24b8ddffaabb234ef779b84e6c7a37441197adee97f5210e1239458328e8c46'
|
||||
'0c54eb12a177d70db7990ed3df640a13036fea3027f44ba190e5b667946f6821c577187157b3c0ecc57393cb5e10565e8e612906f968abb4dbb321678ffb5db5'
|
||||
'a8b5b423f9a7760c83e4ca9833a66bdc76d9d5d555c16eb3681890c0adf1bd693fc652aa5feb59033803349ffaf821170ee297e8d2ef7d9c7178e3067a86ccd4')
|
||||
|
||||
prepare() {
|
||||
cd "$pkgname-$pkgver"
|
||||
patch -Np1 -i ${srcdir}/fix-build.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$pkgname-$pkgver"
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--bindir=/usr/games \
|
||||
--datadir=/usr/share/games \
|
||||
--mandir=/usr/share/man \
|
||||
--sysconfdir=/etc
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$pkgname-$pkgver"
|
||||
make DESTDIR="${pkgdir}" install
|
||||
install -Dm644 "${srcdir}/$pkgname.desktop" -t "${pkgdir}/usr/share/applications"
|
||||
install -Dm644 "${srcdir}/$pkgname.png" -t "${pkgdir}/usr/share/pixmaps"
|
||||
install -Dm644 COPYING -t "${pkgdir}/usr/share/licenses/$pkgname"
|
||||
}
|
||||
Reference in New Issue
Block a user