summaryrefslogtreecommitdiff
path: root/community/unarj/PKGBUILD
blob: e0baa00e3791f0d39db3b0853c7744fe01761e41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $Id: PKGBUILD 55533 2011-09-14 07:44:04Z andrea $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.co>
# Contributor: dale <dale@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>

pkgname=unarj
pkgver=2.63a
pkgrel=3
pkgdesc="An utility to extract, test and  view 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
}