mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
24 lines
726 B
Bash
24 lines
726 B
Bash
|
pkgname=unarj
|
||
|
pkgver=2.63a
|
||
|
pkgrel=4
|
||
|
pkgdesc="The UNARJ utility is developed for extracting, testing and viewing the contents of archives created with the ARJ archiver"
|
||
|
arch=('x86_64')
|
||
|
url="http://www.ibiblio.org/pub/Linux/utils/compress/"
|
||
|
license=('custom')
|
||
|
depends=('glibc')
|
||
|
source=(http://ibiblio.org/pub/Linux/utils/compress/$pkgname-$pkgver.tar.gz LICENSE)
|
||
|
sha1sums=('abd35d894444fea1a0bdc7472ed2346f0f8c6ba4'
|
||
|
'cdc1382fc5ad6263647b1526fb9f299a88f055e2')
|
||
|
|
||
|
build() {
|
||
|
cd $srcdir/$pkgname-$pkgver
|
||
|
make || return 1
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd $srcdir/$pkgname-$pkgver
|
||
|
|
||
|
install -D -m755 unarj $pkgdir/usr/bin/unarj || return 1
|
||
|
install -D -m644 ../LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
|
||
|
}
|