core/unarj/PKGBUILD

24 lines
783 B
Bash
Raw Normal View History

2016-02-24 06:58:38 +08:00
# Contributions from Arch: https://projects.archlinux.org/svntogit/community.git/tree/trunk?h=packages/unarj
2010-05-24 23:40:27 +08:00
pkgname=unarj
pkgver=2.63a
2016-02-24 06:58:38 +08:00
pkgrel=3
2010-05-24 23:40:27 +08:00
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() {
2016-02-24 06:58:38 +08:00
cd "${srcdir}"/$pkgname-$pkgver
make
}
package() {
cd "${srcdir}"/$pkgname-$pkgver
install -D -m755 unarj $pkgdir/usr/bin/unarj
2010-05-24 23:40:27 +08:00
install -D -m644 ../LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}