diff options
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 10 insertions, 6 deletions
@@ -7,6 +7,8 @@ pkgbase = usockets license = Apache depends = openssl source = https://github.com/uNetworking/uSockets/archive/refs/tags/v0.8.5.tar.gz - md5sums = e07e6a53cba781455fcf3cf71e9760c3 + source = usockets-0.8.5-Makefile.patch + sha256sums = c52c98b7ff2c24534c17ad97d5fea8ca0cb7ff38cc933b8d08bac6e498a2ea6b + sha256sums = efeac07919bc804d24b10eceaa2145e8cfa5f2e95edec9e47a94bba5a825b55b pkgname = usockets @@ -9,23 +9,25 @@ pkgdesc="Miniscule cross-platform eventing, networking & crypto for async applic url="https://github.com/uNetworking/uSockets" license=('Apache') arch=('x86_64') -source=( "https://github.com/uNetworking/uSockets/archive/refs/tags/v${pkgver}.tar.gz" ) -md5sums=('e07e6a53cba781455fcf3cf71e9760c3') +source=("https://github.com/uNetworking/uSockets/archive/refs/tags/v${pkgver}.tar.gz" + "usockets-$pkgver-Makefile.patch") +sha256sums=('c52c98b7ff2c24534c17ad97d5fea8ca0cb7ff38cc933b8d08bac6e498a2ea6b' + 'efeac07919bc804d24b10eceaa2145e8cfa5f2e95edec9e47a94bba5a825b55b') depends=( openssl ) prepare() { cd "uSockets-$pkgver" - patch < ../../usockets-$pkgver-Makefile.patch + patch < "$srcdir/usockets-$pkgver-Makefile.patch" } build() { cd "uSockets-$pkgver" - make VERSION=$pkgver WITH_OPENSSL=1 default + make VERSION="$pkgver" WITH_OPENSSL=1 default } package() { cd "uSockets-$pkgver" - make VERSION=$pkgver DESTDIR="$pkgdir/" install + make VERSION="$pkgver" DESTDIR="$pkgdir/" install } #vim: syntax=sh |