blob: ef15eab9f0d6828681eeed5c2f0327998386e853 (
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Maintainer: Emanuele 'Lele aka eldios' Calo' <xeldiosx[at]gmail[dot]com>
pkgname=adom-noteye
pkgver=3.3.3
pkgrel=6
pkgdesc="A roguelike game with a quest-centric, plot driven structure (+ GUI) - Please consider buying the game on Steam"
arch=("x86_64")
url="http://www.adom.de/"
conflicts=('adom' 'adom-restricted')
provides=('adom')
depends=('ncurses' 'mesa' 'sdl_image' 'sdl_net' 'sdl_mixer' 'lua51' 'libbsd'
'libmad' 'libpng12')
_repo_url="https://repo.sshadm.in/archlinux/eldios"
license=('custom:adom')
source_x86_64=(
"${_repo_url}/${arch}/adom_noteye_64_${pkgver}.tar.xz"
"${_repo_url}/common/adom.sh"
"${_repo_url}/common/LICENSE"
)
# PACKAGES
sha256sums_x86_64=(
'21715619af352f86a703bba312eeee7060016cb8e3c938f6604f7e804ccb7d3c'
'3517fbea5f29299cd16eeb88a3b7c39240fc6268faa8cf8377e678e02e1d832f'
'd0b08609c52ab96fb1083b2b0eea3d022549c59c87b793a140f5dfa56099544b'
)
package() {
# Copy entire contents of the archive to /opt
install -d "${pkgdir}/opt"
cp -R "${srcdir}/opt/adom" "${pkgdir}/opt/"
# Since the adom binary uses a relative RPATH, it's either
# this or patching the binary
install --mode 755 "${srcdir}/adom.sh" "${pkgdir}/opt/adom/adom.sh"
install -d "${pkgdir}/usr/bin"
ln -s "/opt/adom/adom.sh" "${pkgdir}/usr/bin/adom"
# Add the LICENSE file
install -d "${pkgdir}/usr/share/licenses/${pkgname}"
install --mode 644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|