blob: 5f4101f4134ed063e2274ac6c73316920d84dacf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Maintainer: Jan Cholasta <grubber at grubber cz>
pkgname=square1-wad
pkgver=2.1
pkgrel=2
pkgdesc="The Adventures of Square, Episode 1 game data"
arch=('any')
url='http://adventuresofsquare.com/'
license=('CCPL:by-nc' 'MIT')
source=("http://adventuresofsquare.com/downloads/square-ep2-win64-${pkgver}.zip")
sha256sums=('ae4848bcdbcd3671d427a7faa6e3bb9ccd9bd2f89375fb9f4017ee12bda84599')
latestver() {
curl -fsSL 'http://adventuresofsquare.com/downloads.php' |
sed -nE 's#.*href="downloads/square-ep2-win64-([0-9.]+)\.zip".*#\1#p' | head -1
}
package() {
install -D -m644 'square1.pk3' "${pkgdir}/usr/share/doom/square1.pk3"
install -D -m644 'SQUARE-LICENSE.txt' "${pkgdir}/usr/share/licenses/${pkgname}/SQUARE-LICENSE.txt"
}
|