mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
42 lines
1.3 KiB
Bash
42 lines
1.3 KiB
Bash
# Maintainer: Simon Perry <aur [at] sanxion [dot] net>
|
|
# Contributor: Bartlomiej Piotrowski <nospam@bpiotrowski.pl>
|
|
# Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
|
|
# Contributor: Jason Pierce <`echo 'moc tod liamg ta nosaj tod ecreip' | rev`>
|
|
# Contributor: Jeremy Cowgar <jeremy@cowgar.com>
|
|
# Contributor: Simon Perry <aur [at] sanxion [dot] net>
|
|
|
|
pkgname=dropbear
|
|
pkgver=2014.63
|
|
pkgrel=1
|
|
pkgdesc="Lightweight replacement for sshd"
|
|
arch=('i686' 'x86_64' 'armv6h')
|
|
url="http://matt.ucc.asn.au/dropbear/dropbear.html"
|
|
license=('MIT')
|
|
depends=('zlib')
|
|
source=(http://matt.ucc.asn.au/$pkgname/releases/$pkgname-$pkgver.tar.bz2
|
|
$pkgname.service)
|
|
sha256sums=('595992de432ba586a0e7e191bbb1ad587727678bb3e345b018c395b8c55b57ae'
|
|
'1920dc2d9a1dd86b3137ae4348196f9b95142d6eee484ee536bc7dfed7f0def0')
|
|
|
|
build() {
|
|
cd ${srcdir}/$pkgname-$pkgver
|
|
|
|
sed -i 's|usr/libexec/sftp|usr/lib/ssh/sftp|' options.h
|
|
|
|
./configure --prefix=/usr --bindir=/usr/bin --sbindir=/usr/bin
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/$pkgname-$pkgver
|
|
|
|
DESTDIR=${pkgdir} make install
|
|
|
|
# Configuration files
|
|
install -d ${pkgdir}/etc/$pkgname
|
|
install -D -m644 ${srcdir}/$pkgname.service ${pkgdir}/usr/lib/systemd/system/$pkgname.service
|
|
|
|
# License file
|
|
install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/$pkgname/LICENSE
|
|
}
|
|
|