blob: 75942d6a563398b5d85933e783cc6648347a5878 (
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
45
|
# Contributer: Rodney van den Velden <rodney@dfagaming.nl>
# Maintainer: Mateusz Krawczynski <matikrawczpl@gmail.com>
pkgname=gosumemory
pkgver=1.3.8
pkgrel=1
pkgdesc="Cross-Platform memory reader for osu!"
arch=(x86_64)
url="https://github.com/l3lackShark/gosumemory"
license=("GPL")
depends=("lib32-glibc")
makedepends=()
checkdepends=()
optdepends=()
provides=(gosumemory)
conflicts=(gosumemory)
replaces=()
backup=()
options=()
install=
changelog=
source=("https://github.com/l3lackShark/${pkgname}/releases/download/${pkgver}/${pkgname}_linux_386.zip"
)
noextract=("${pkgver}/${pkgname}_linux_386.zip")
sha256sums=("1e52c647b1547a7b79c4843ce52b3ef9b304c17ed16a15076170443a003152d3")
validpgpkeys=()
prepare() {
unzip -f "${pkgname}_linux_386.zip"
}
package() {
# Install gosumemory binary
install -Dm755 "${srcdir}/${pkgname}" "${pkgdir}/opt/gosumemory/gosumemory"
# Copy all files in "static" (these are the overlays)
cp -r "${srcdir}/static" "${pkgdir}/opt/gosumemory"
# Remove unnecessary files
rm -rf "${pkgdir}/opt/gosumemory/static/.git"
rm -f "${pkgdir}/opt/gosumemory/static/LICENSE"
# Install the LICENSE
install -Dm644 "${srcdir}/static/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
}
|