summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9b6f283e96410954457431a9c185d3e2bda4bc73 (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
# Maintainer: Miguel Revilla <yo@miguelrevilla.com>

pkgname=crackpkcs12
pkgver=0.2.11
pkgrel=1
pkgdesc="A tool to audit PKCS12 files passwords"
arch=('i686' 'x86_64')
depends=('openssl')
url="http://crackpkcs12.sourceforge.net"
license=('GPL')
source=("http://download.sourceforge.net/project/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
md5sums=('1e47c3f6a4f85036364fcd7b0b5b0bc8')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make install DESTDIR="${pkgdir}"
  install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
}