Andreas Radke pushed to branch main at Arch Linux / Packaging / Packages / ijs


Commits:
0f84a7cd by Andreas Radke at 2024-02-21T10:44:47+01:00
upgpkg: 0.35-6; SPDX license

- - - - -


2 changed files:

- + .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -0,0 +1,15 @@
+pkgbase = ijs
+       pkgdesc = a library which implements a protocol for transmission of 
raster page images
+       pkgver = 0.35
+       pkgrel = 6
+       url = https://www.openprinting.org/download/ijs/
+       arch = x86_64
+       license = AGPL-3.0-or-later
+       makedepends = docbook-utils
+       makedepends = ghostscript
+       depends = glibc
+       depends = sh
+       source = 
https://www.openprinting.org/download/ijs/download/ijs-0.35.tar.bz2
+       sha256sums = 
11a5f5084488c480f3ff5a24d64d7147bb64272bf60a0ba51330a56c5b50cab9
+
+pkgname = ijs


=====================================
PKGBUILD
=====================================
@@ -2,29 +2,36 @@
 
 pkgname=ijs
 pkgver=0.35
-pkgrel=5
+pkgrel=6
 pkgdesc="a library which implements a protocol for transmission of raster page 
images"
 arch=('x86_64')
 url="https://www.openprinting.org/download/ijs/";
-license=('GPL')
+license=('AGPL-3.0-or-later')
 depends=('glibc' 'sh')
 makedepends=('docbook-utils' 'ghostscript')
-source=("https://www.openprinting.org/download/ijs/download/ijs-$pkgver.tar.bz2";)
-md5sums=('896fdcb7a01c586ba6eb81398ea3f6e9')
+source=("https://www.openprinting.org/download/ijs/download/ijs-$pkgver.tar.bz2";
+        # this one misses ijs-config and its manpage but adds AGPL v3 COPYING
+        
#ijs-$pkgver.tar.gz::https://github.com/ArtifexSoftware/ijs/archive/refs/tags/$pkgver.tar.gz
+)
 sha256sums=('11a5f5084488c480f3ff5a24d64d7147bb64272bf60a0ba51330a56c5b50cab9')
 
+prepare() {
+  cd "$pkgname-$pkgver"
+  autoreconf -vfi
+}
+
 build() {
-       cd "$pkgname-$pkgver"
-       ./configure --prefix=/usr \
-          --disable-static \
-          --enable-shared \
-          --mandir=/usr/share/man
-       make
+  cd "$pkgname-$pkgver"
+  ./configure --prefix=/usr \
+    --disable-static \
+    --enable-shared \
+    --mandir=/usr/share/man
+  make
 }
 
 package() {
-       cd "$pkgname-$pkgver"
-       make DESTDIR="$pkgdir/" install
-        # install doc
-        install -Dm644 ijs_spec.pdf 
"${pkgdir}"/usr/share/doc/$pkgname/ijs_spec.pdf
+  cd "$pkgname-$pkgver"
+  make DESTDIR="$pkgdir/" install
+  # install doc
+  install -Dm644 ijs_spec.pdf "${pkgdir}"/usr/share/doc/$pkgname/ijs_spec.pdf
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/ijs/-/commit/0f84a7cd55d9c943597fc6e2c54985c7932d547f

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


Reply via email to