summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7f97d5c3f304e098e59aad7e583a69e489564b17 (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
# Maintainer: Dan Pluth <pluthd@gmail.com>
pkgname=onetime
pkgver=1.81
pkgrel=2
epoch=
pkgdesc="an open source encryption program that uses the one-time pad method."
arch=(any)
url="http://red-bean.com/onetime/"
license=('MIT')
depends=(python2)
provides=(onetime)
source=(http://red-bean.com/onetime/$pkgname-$pkgver.tar.gz)
sha256sums=('36a83a83ac9f4018278bf48e868af00f3326b853229fae7e43b38d167e628348')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  sed -i 's/python/python2/' ./onetime
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  install -d $pkgdir/usr/bin
  install -m 555 onetime $pkgdir/usr/bin
}