summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorredtide2022-01-23 03:53:24 +0100
committerredtide2022-01-23 03:53:24 +0100
commit4e37a156fa2d0d5c726bcd01b9de77d50414f65b (patch)
treeb075f9beac859b0c954c58bf47ac25bd4b8673e7
parenta2db42bb0ede994029d466bac6d411005dfb67f5 (diff)
downloadaur-wxformbuilder.tar.gz
Version 3.10.1
-rw-r--r--.SRCINFO10
-rw-r--r--.gitignore1
-rw-r--r--PKGBUILD23
3 files changed, 13 insertions, 21 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 647d75615b6..883efd7af59 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,12 @@
pkgbase = wxformbuilder
pkgdesc = RAD tool for wxWidgets GUI design
- pkgver = 3.9.0
- pkgrel = 2
+ pkgver = 3.10.1
+ pkgrel = 1
url = https://github.com/wxFormBuilder/wxFormBuilder
arch = i686
arch = x86_64
arch = aarch64
license = GPL2
- makedepends = git
makedepends = ninja
makedepends = meson
depends = wxgtk3
@@ -15,10 +14,9 @@ pkgbase = wxformbuilder
conflicts = wxformbuilder
conflicts = wxformbuilder-svn
conflicts = wxformbuilder-git
- source = git://github.com/wxFormBuilder/wxFormBuilder.git#tag=v3.9.0
+ source = https://github.com/wxFormBuilder/wxFormBuilder/releases/download/v3.10.1/wxFormBuilder-3.10.1-source-full.tar.gz
source = nativefile.ini
- sha512sums = SKIP
+ sha512sums = de8d51b8907529fd882bcd1908fbce49381f0e75bfb0ea00b319d856d835769739e03b829b9ede5d1439513fba1e42bbc247e51cde54f89dc50efa1b0bc43a4c
sha512sums = c44a263897bc22e46bbe8d106cb0e4ee4c331fec0d271b4140055c59a891360c251fa7f33ce7b83fa8a3515c954c6cbf9b06eddaff2e3b671709d652fd603836
pkgname = wxformbuilder
-
diff --git a/.gitignore b/.gitignore
index ca29db2e47b..1146186ad8d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
/src
/wxFormBuilder
*.pkg.tar*
+*.tar.gz
diff --git a/PKGBUILD b/PKGBUILD
index f3dee85ecde..45867c8998b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,13 +1,10 @@
# Maintainer: redtide <redtid3 at gmail dot com>
# Maintainer: Antonio O. <antonio.mx.9605 at gmail dot com>
-# TODO: replace git checkout with a tarball when available, see
-# https://github.com/wxFormBuilder/wxFormBuilder/issues/676
-
-_gitname=wxFormBuilder
+_prjname=wxFormBuilder
pkgname=wxformbuilder
-pkgver=3.9.0
-pkgrel=2
+pkgver=3.10.1
+pkgrel=1
pkgdesc="RAD tool for wxWidgets GUI design"
arch=('i686' 'x86_64' 'aarch64')
url="https://github.com/wxFormBuilder/wxFormBuilder"
@@ -15,26 +12,22 @@ license=('GPL2')
provides=('wxformbuilder')
conflicts=('wxformbuilder' 'wxformbuilder-svn' 'wxformbuilder-git')
depends=('wxgtk3')
-makedepends=('git' 'ninja' 'meson')
+makedepends=('ninja' 'meson')
source=(
- "git://github.com/wxFormBuilder/wxFormBuilder.git#tag=v3.9.0"
+ "https://github.com/wxFormBuilder/wxFormBuilder/releases/download/v3.10.1/wxFormBuilder-3.10.1-source-full.tar.gz"
"nativefile.ini"
)
sha512sums=(
- "SKIP"
+ "de8d51b8907529fd882bcd1908fbce49381f0e75bfb0ea00b319d856d835769739e03b829b9ede5d1439513fba1e42bbc247e51cde54f89dc50efa1b0bc43a4c"
"c44a263897bc22e46bbe8d106cb0e4ee4c331fec0d271b4140055c59a891360c251fa7f33ce7b83fa8a3515c954c6cbf9b06eddaff2e3b671709d652fd603836"
)
-prepare() {
- cd "${srcdir}/${_gitname}"
- git submodule update --init
-}
build() {
- cd "${srcdir}/${_gitname}"
+ cd "${_prjname}-${pkgver}"
meson _build --native-file "${srcdir}/nativefile.ini" --prefix /usr
ninja -C _build
}
package() {
- cd "${srcdir}/${_gitname}"
+ cd "${_prjname}-${pkgver}"
DESTDIR="${pkgdir}" ninja -C _build install
mkdir -p "${pkgdir}/usr/share/mime/packages/"
cp -r "install/linux/data/gnome/usr/share" "${pkgdir}/usr"