Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages / 
hamlib


Commits:
c913004d by Antonio Rojas at 2024-04-05T20:22:02+02:00
upgpkg: 4.5.5-4: Python 3.12 rebuild, build from github tarball to override 
pregenerated build artifacts that don't work with Python 3.12

- - - - -


2 changed files:

- + .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -0,0 +1,23 @@
+pkgbase = hamlib
+       pkgdesc = Ham radio equipment control libraries
+       pkgver = 4.5.5
+       pkgrel = 4
+       url = https://hamlib.github.io
+       arch = x86_64
+       license = GPL
+       license = LGPL
+       makedepends = swig
+       depends = perl
+       depends = python
+       depends = lua
+       depends = tcl
+       depends = libxml2
+       depends = libusb-compat
+       depends = libtool
+       depends = libuhd
+       depends = libindi
+       source = 
https://github.com/Hamlib/Hamlib/archive/4.5.5/hamlib-4.5.5.tar.gz
+       validpgpkeys = 82D64F6B0E67CD41F689BBA6FB2C5130D55A8819
+       sha512sums = 
6b39109a6f65a96f15508ccda2b8aa0b208fd8eab0166cc871494e46f4f04c736ac4415e7717e6f196a8ccba3b25e1ffe95815eecd1fd569d9834e489a79d3b4
+
+pkgname = hamlib


=====================================
PKGBUILD
=====================================
@@ -2,21 +2,22 @@
 
 pkgname=hamlib
 pkgver=4.5.5
-pkgrel=3
+pkgrel=4
 pkgdesc='Ham radio equipment control libraries'
 arch=('x86_64')
 url='https://hamlib.github.io'
 license=('GPL' 'LGPL')
 depends=('perl' 'python' 'lua' 'tcl' 'libxml2' 'libusb-compat' 'libtool' 
'libuhd' 'libindi')
 makedepends=('swig')
-source=("https://github.com/Hamlib/Hamlib/releases/download/$pkgver/$pkgname-$pkgver.tar.gz"{,.asc})
-sha512sums=('2cdff2630e89fa95c7ac40e998492e8a04e000fcca18b9491ddcb967927ffaa771ed2e6ac3232a060947883533a6ae7405042a2f8fdb1de157d71f74381f5899'
-            'SKIP')
+#source=("https://github.com/Hamlib/Hamlib/releases/download/$pkgver/$pkgname-$pkgver.tar.gz"{,.asc})
+source=(https://github.com/Hamlib/Hamlib/archive/$pkgver/$pkgname-$pkgver.tar.gz)
+sha512sums=('6b39109a6f65a96f15508ccda2b8aa0b208fd8eab0166cc871494e46f4f04c736ac4415e7717e6f196a8ccba3b25e1ffe95815eecd1fd569d9834e489a79d3b4')
 validpgpkeys=('82D64F6B0E67CD41F689BBA6FB2C5130D55A8819') # Nate Bargmann 
<[email protected]>
 
 build() {
-  cd $pkgname-$pkgver
+  cd Hamlib-$pkgver
 
+  ./bootstrap
   ./configure \
        --prefix=/usr \
        --sbindir=/usr/bin \
@@ -31,7 +32,7 @@ build() {
 }
 
 package() {
-  cd $pkgname-$pkgver
+  cd Hamlib-$pkgver
 
   make DESTDIR="$pkgdir" install
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/hamlib/-/commit/c913004d8297d61dfc0575abd1e1afa8e48f3e38

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


Reply via email to