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


Commits:
7ff1a432 by Balló György at 2024-05-13T12:14:26+02:00
Switch to git source

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -5,10 +5,12 @@ pkgbase = libthai
        url = https://linux.thai.net/projects/libthai
        arch = x86_64
        license = LGPL-2.1-or-later
+       makedepends = autoconf-archive
        makedepends = doxygen
+       makedepends = git
        depends = glibc
        depends = libdatrie
-       source = 
https://linux.thai.net/pub/thailinux/software/libthai/libthai-0.1.29.tar.xz
-       sha256sums = 
fc80cc7dcb50e11302b417cebd24f2d30a8b987292e77e003267b9100d0f4bcd
+       source = git+https://github.com/tlwg/libthai.git#tag=v0.1.29
+       b2sums = 
b312913d8c8e1cbf4fec869db8314e8239939759e7f8ca421e0aee814aa952849d8f34ccf77c9f23e9746bf9b73d3c369bba0f9ad622d3b227a40bc4b028cfbf
 
 pkgname = libthai


=====================================
PKGBUILD
=====================================
@@ -10,22 +10,27 @@ arch=('x86_64')
 url='https://linux.thai.net/projects/libthai'
 license=('LGPL-2.1-or-later')
 depends=('glibc' 'libdatrie')
-makedepends=('doxygen')
-source=("https://linux.thai.net/pub/thailinux/software/libthai/$pkgname-$pkgver.tar.xz";)
-sha256sums=('fc80cc7dcb50e11302b417cebd24f2d30a8b987292e77e003267b9100d0f4bcd')
+makedepends=('autoconf-archive' 'doxygen' 'git')
+source=("git+https://github.com/tlwg/libthai.git#tag=v$pkgver";)
+b2sums=('b312913d8c8e1cbf4fec869db8314e8239939759e7f8ca421e0aee814aa952849d8f34ccf77c9f23e9746bf9b73d3c369bba0f9ad622d3b227a40bc4b028cfbf')
+
+prepare() {
+  cd $pkgname
+  autoreconf -fi
+}
 
 build() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   ./configure --prefix=/usr
   make
 }
 
 check() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   make check
 }
 
 package() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   make DESTDIR="$pkgdir" install
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/libthai/-/commit/7ff1a432836fcba6412180a228f9f4ab0a681718

-- 
This project does not include diff previews in email notifications.
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/libthai/-/commit/7ff1a432836fcba6412180a228f9f4ab0a681718
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to