George Rawlinson pushed to branch main at Arch Linux / Packaging / Packages /
libtommath
Commits:
ea05b73a by George Rawlinson at 2025-11-19T01:15:47+00:00
upgpkg: 1.3.0-2
* Update URL
* Update license to use SPDX references.
* Switch source from git tarball to git tag.
* Switch checksums from sha256 to sha512+b2.
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,12 +1,14 @@
pkgbase = libtommath
pkgdesc = Highly optimized and portable routines for integer based
number theoretic applications
pkgver = 1.3.0
- pkgrel = 1
- url = http://www.libtom.net/
+ pkgrel = 2
+ url = https://www.libtom.net/
arch = x86_64
- license = custom
+ license = Unlicense
+ makedepends = git
depends = glibc
- source =
https://github.com/libtom/libtommath/releases/download/v1.3.0/ltm-1.3.0.tar.xz
- sha256sums =
296272d93435991308eb73607600c034b558807a07e829e751142e65ccfa9d08
+ source = libtommath::git+https://github.com/libtom/libtommath#tag=v1.3.0
+ sha512sums =
5205f1c95343bc405d60c519b6dde905f6b1136a46d944d02e672e3a7097b527fb5261562d79495cca7e45efb2739c4636a8e2841ea5a9f2ab7f328237ee7510
+ b2sums =
65472e276a6d0ef51bed3fc669c545ae02ef27906b0eca0f9a614ac14c132a04d63ff6bb7873c7b6fbe343d2a92120aa6191c67973de0f82b0aac889f46953da
pkgname = libtommath
=====================================
PKGBUILD
=====================================
@@ -5,24 +5,28 @@
pkgname=libtommath
pkgver=1.3.0
-pkgrel=1
+pkgrel=2
pkgdesc='Highly optimized and portable routines for integer based number
theoretic applications'
-url='http://www.libtom.net/'
-license=(custom)
arch=(x86_64)
+url='https://www.libtom.net/'
+license=(Unlicense)
depends=(glibc)
-source=(https://github.com/libtom/libtommath/releases/download/v$pkgver/ltm-$pkgver.tar.xz)
-sha256sums=('296272d93435991308eb73607600c034b558807a07e829e751142e65ccfa9d08')
+makedepends=(git)
+source=("$pkgname::git+https://github.com/libtom/libtommath#tag=v$pkgver")
+sha512sums=('5205f1c95343bc405d60c519b6dde905f6b1136a46d944d02e672e3a7097b527fb5261562d79495cca7e45efb2739c4636a8e2841ea5a9f2ab7f328237ee7510')
+b2sums=('65472e276a6d0ef51bed3fc669c545ae02ef27906b0eca0f9a614ac14c132a04d63ff6bb7873c7b6fbe343d2a92120aa6191c67973de0f82b0aac889f46953da')
build() {
- cd $pkgname-$pkgver
+ cd "$pkgname"
make -f makefile.shared IGNORE_SPEED=1
}
package() {
- cd $pkgname-$pkgver
+ cd "$pkgname"
make -f makefile.shared PREFIX=/usr DESTDIR="$pkgdir" INSTALL_GROUP=root
install
- install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+
+ # license
+ #install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
}
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/libtommath/-/commit/ea05b73a65f9450d664ab22ecad7546cb46dc120
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/libtommath/-/commit/ea05b73a65f9450d664ab22ecad7546cb46dc120
You're receiving this email because of your account on gitlab.archlinux.org.