Date: Monday, January 9, 2023 @ 10:35:12
  Author: alerque
Revision: 1382092

upgpkg: xmake 2.7.5-1

Modified:
  xmake/trunk/PKGBUILD

----------+
 PKGBUILD |   17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-01-09 10:29:22 UTC (rev 1382091)
+++ PKGBUILD    2023-01-09 10:35:12 UTC (rev 1382092)
@@ -3,7 +3,7 @@
 # Contributor: lumpyzhu <[email protected]>
 
 pkgname=xmake
-pkgver=2.7.4
+pkgver=2.7.5
 pkgrel=1
 pkgdesc='A cross-platform build utility based on Lua'
 arch=(x86_64 i686 aarch64)
@@ -11,18 +11,17 @@
 license=(Apache)
 makedepends=(ncurses
              readline)
-_archive="$pkgname-v$pkgver"
-source=("$url/releases/download/v$pkgver/$_archive.tar.gz")
-sha256sums=('d490ff8825fa53fe5abfb549310cb54a2dfef1ebd3f82e24548483772994e06a')
+_archive="$pkgname-$pkgver"
+source=("$url/releases/download/v$pkgver/${_archive/-/-v}.tar.gz")
+sha256sums=('fc4a39a0c649e7469a2da2d66618ca3090050b1656ff43cf1fd46abc86232a3d')
 
-# WARNING: Source tarball does not have any top level diretory!
-
 build() {
-       # cd "$_archive"
-       make build
+       cd "$_archive"
+       ./configure
+       make
 }
 
 package() {
-       # cd "$_archive"
+       cd "$_archive"
        make install DESTDIR="$pkgdir" PREFIX="/usr"
 }

Reply via email to