mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-15 18:29:03 +08:00
24 lines
783 B
Bash
24 lines
783 B
Bash
# Contributions from Arch: https://projects.archlinux.org/svntogit/community.git/tree/trunk?h=packages/unarj
|
|
|
|
pkgname=unarj
|
|
pkgver=2.63a
|
|
pkgrel=3
|
|
pkgdesc="The UNARJ utility is developed for extracting, testing and viewing the contents of archives created with the ARJ archiver"
|
|
arch=(i686 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)
|
|
md5sums=('a83d139c245f911f22cb1b611ec9768f' 'c2467ee8c1cb61d843bc2c16cc5e2a2d')
|
|
|
|
build() {
|
|
cd "${srcdir}"/$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
|
|
}
|