Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages / libdmtx
Commits: 33b7343c by Antonio Rojas at 2024-07-04T00:05:44+02:00 upgpkg: 0.7.7-2: Rebuild for missing .SRCINFO - - - - - 2 changed files: - + .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -0,0 +1,13 @@ +pkgbase = libdmtx + pkgdesc = A software for reading and writing Data Matrix 2D barcodes + pkgver = 0.7.7 + pkgrel = 2 + url = https://libdmtx.sourceforge.net/ + arch = x86_64 + license = LicenseRef-libdmtx + makedepends = git + depends = glibc + source = git+https://github.com/dmtx/libdmtx#tag=v0.7.7 + sha256sums = 1cff71eb7c0fdfea658caf30639c19b8d36c2485cb31ac6267f260c5b7aaa7a6 + +pkgname = libdmtx ===================================== PKGBUILD ===================================== @@ -4,23 +4,30 @@ pkgname=libdmtx pkgver=0.7.7 -pkgrel=1 -pkgdesc="A software for reading and writing Data Matrix 2D barcodes" -url="https://libdmtx.sourceforge.net/" +pkgrel=2 +pkgdesc='A software for reading and writing Data Matrix 2D barcodes' +url='https://libdmtx.sourceforge.net/' arch=(x86_64) -license=(GPL2) +license=(LicenseRef-libdmtx) depends=(glibc) -source=("https://github.com/dmtx/libdmtx/archive/v$pkgver/$pkgname-$pkgver.tar.gz") -sha256sums=('7aa62adcefdd6e24bdabeb82b3ce41a8d35f4a0c95ab0c4438206aecafd6e1a1') +makedepends=(git) +source=(git+https://github.com/dmtx/libdmtx#tag=v$pkgver) +sha256sums=('1cff71eb7c0fdfea658caf30639c19b8d36c2485cb31ac6267f260c5b7aaa7a6') + +prepare() { + cd $pkgname + autoreconf -vi +} build() { - cd $pkgname-$pkgver - ./autogen.sh - ./configure --prefix=/usr + cd $pkgname + ./configure \ + --prefix=/usr make } package() { - cd $pkgname-$pkgver + cd $pkgname make DESTDIR="$pkgdir" install + install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/libdmtx/-/commit/33b7343cfd7be2f7c76c5310e2e7ad419174a04b -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/libdmtx/-/commit/33b7343cfd7be2f7c76c5310e2e7ad419174a04b You're receiving this email because of your account on gitlab.archlinux.org.
