blob: 8b7b96f31b94ee7117b21dccb0e8ec5fcc30a70c (
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
46
47
48
49
|
# Maintainer: Corey Powell (mistdragon100@gmail.com)
# This is based off the tagged releases in the official hashlink repo
# So if you want official releases, this is the PKGBUILD for you.
pkgname=hashlink
pkgver=1.14
pkgrel=2
pkgdesc="A virtual machine for Haxe (tagged releases)"
url="https://hashlink.haxe.org/"
arch=(x86_64)
license=('MIT')
conflicts=('hashlink-git')
makedepends=()
depends=(
'libpng'
'libjpeg-turbo'
'libvorbis'
'openal'
'sdl2'
'mbedtls2'
'libuv'
'glu'
)
source=("https://github.com/HaxeFoundation/hashlink/archive/${pkgver}.tar.gz"
"libs-mysql-my_api.c.patch"
"libs-mysql-socket.c.patch"
"libs-sqlite-sqlite.c.patch"
"mbedtls2-Makefile.patch")
sha256sums=('7def473c8fa620011c7359dc36524246c83d0b6a25d495d421750ecb7182cc99'
'8d342956883729351b5509b45f10192761f4279d3e52b1c7c071fa9fbb6691b1'
'236072d5f14c2a9f00104eebb817c74dc7168a4e6f4f9239b036b0b0e7cac265'
'ca790dbeac6c29c2291a51911522fc0496a8abdbd59ff1b6dcaeed0c75511311'
'3d272e39333fbf0cbe17667f608a7616a3eef543fb574e1e9b51460f8b5f3db0')
prepare() {
patch "$srcdir/${pkgname}-${pkgver}/libs/mysql/my_api.c" -i ./libs-mysql-my_api.c.patch
patch "$srcdir/${pkgname}-${pkgver}/libs/mysql/socket.c" -i ./libs-mysql-socket.c.patch
patch "$srcdir/${pkgname}-${pkgver}/libs/sqlite/sqlite.c" -i ./libs-sqlite-sqlite.c.patch
patch "$srcdir/${pkgname}-${pkgver}/Makefile" -i ./mbedtls2-Makefile.patch
}
build() {
cd "$srcdir/${pkgname}-${pkgver}"
make
}
package() {
cd "$srcdir/${pkgname}-${pkgver}"
make PREFIX="$pkgdir/usr" install
}
|