Balló György pushed to branch main at Arch Linux / Packaging / Packages / qqwing


Commits:
9a1a8a0b by Balló György at 2024-07-23T21:05:09+02:00
Formatting, add config for nvchecker

- - - - -


3 changed files:

- .SRCINFO
- + .nvchecker.toml
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -8,6 +8,6 @@ pkgbase = qqwing
        depends = gcc-libs
        depends = glibc
        source = https://qqwing.com/qqwing-1.3.4.tar.gz
-       sha256sums = 
1753736c31feea0085f5cfac33143743204f8a7e66b81ccd17e249ecafba802f
+       b2sums = 
cf78a3d06c529ab1d47739ee0914e268fe8375d5dd7eb73a05ed91fcd7231b0f2103ae2490a8edf438ebce5ec77457f2686338edb61c38a804af34df78763c31
 
 pkgname = qqwing


=====================================
.nvchecker.toml
=====================================
@@ -0,0 +1,4 @@
+[qqwing]
+source = "git"
+git = "https://github.com/stephenostermiller/qqwing.git";
+prefix = "v"


=====================================
PKGBUILD
=====================================
@@ -5,16 +5,27 @@ pkgname=qqwing
 pkgver=1.3.4
 pkgrel=7
 pkgdesc='Sudoku generating and solving software'
-arch=('x86_64')
+arch=(x86_64)
 url='https://qqwing.com/'
-license=('GPL-2.0-or-later')
-depends=('gcc-libs' 'glibc')
+license=(GPL-2.0-or-later)
+depends=(
+  gcc-libs
+  glibc
+)
 source=("https://qqwing.com/$pkgname-$pkgver.tar.gz";)
-sha256sums=('1753736c31feea0085f5cfac33143743204f8a7e66b81ccd17e249ecafba802f')
+b2sums=(cf78a3d06c529ab1d47739ee0914e268fe8375d5dd7eb73a05ed91fcd7231b0f2103ae2490a8edf438ebce5ec77457f2686338edb61c38a804af34df78763c31)
+
+prepare() {
+  cd $pkgname-$pkgver
+  autoreconf -fi
+}
 
 build() {
   cd $pkgname-$pkgver
-  ./configure --prefix=/usr
+  ./configure \
+    --prefix=/usr \
+    --sysconfdir=/etc \
+    --localstatedir=/var
   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   make
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/qqwing/-/commit/9a1a8a0bafc379dd0556135161b71d61b02592f9

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/qqwing/-/commit/9a1a8a0bafc379dd0556135161b71d61b02592f9
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to