[arch-commits] Commit in unarj/trunk (PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Sat Jun 12 00:00:56 UTC 2021
Date: Saturday, June 12, 2021 @ 00:00:56
Author: anthraxx
Revision: 962989
upgpkg: unarj 2.65-1
Modified:
unarj/trunk/PKGBUILD
----------+
PKGBUILD | 32 +++++++++++++++++++++-----------
1 file changed, 21 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-06-12 00:00:48 UTC (rev 962988)
+++ PKGBUILD 2021-06-12 00:00:56 UTC (rev 962989)
@@ -1,27 +1,37 @@
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.co>
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.co>
# Contributor: dale <dale at archlinux.org>
# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
pkgname=unarj
-pkgver=2.63a
-pkgrel=6
-pkgdesc="An utility to extract, test and view the contents of archives created with the ARJ archiver"
+pkgver=2.65
+pkgrel=1
+pkgdesc='Utility to extract, test and view the contents of archives created with the ARJ archiver'
+url='http://www.arjsoftware.com/'
arch=('x86_64')
-url="https://www.ibiblio.org/pub/Linux/utils/compress/"
license=('custom')
depends=('glibc')
-source=("https://ibiblio.org/pub/Linux/utils/compress/$pkgname-$pkgver.tar.gz"
+source=("https://src.fedoraproject.org/repo/pkgs/${pkgname}/${pkgname}-${pkgver}.tar.gz/c6fe45db1741f97155c7def322aa74aa/${pkgname}-${pkgver}.tar.gz"
'LICENSE')
-sha512sums=('4f8aed311b8626f6bbefc7ad3296c1e69e8c89e79e4b853124502939ca83e2eb0352b64a5b71b2572e948a97a31416e678bc4ce30519631732001cfe7bb983d2'
+sha512sums=('747bdc940fcb8ac28207a90cec8011deb93fe26064a44c94de44d7dfc82cb1cc6db2d1a648af3626283fc4f5d608ec312900455827fd1b7835ccfb89e71a7ac7'
'89a2a8ed1bfbbb30ed32a55b30a5d98c1f58233603de1c1c1a6756bdae1258e810f2d0f386961bee606c31e38558dda4868c522c0c60c5ce0061ab31a97f29cb')
+prepare() {
+ cd "${pkgname}-${pkgver}"
+ sed 's|CFLAGS =|CFLAGS +=|' -i Makefile
+ sed 's|-o unarj|$(LDFLAGS) -o unarj|' -i Makefile
+}
+
build() {
- cd "${srcdir}"/$pkgname-$pkgver
+ cd "${pkgname}-${pkgver}"
make
}
package() {
- cd "${srcdir}"/$pkgname-$pkgver
- install -D -m755 unarj "$pkgdir"/usr/bin/unarj
- install -D -m644 ../LICENSE "$pkgdir"/usr/share/licenses/${pkgname}/LICENSE
+ cd "${pkgname}-${pkgver}"
+ install -Dm 755 unarj -t "${pkgdir}/usr/bin"
+ install -Dm 644 *.txt -t "${pkgdir}/usr/share/doc/${pkgname}"
+ install -Dm 644 ../LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list