PKGBUILDs/community/openssh-askpass/PKGBUILD

43 lines
1.2 KiB
Bash
Raw Normal View History

2013-05-11 17:27:27 +00:00
# Maintainer: schuay <jakob.gruber@gmail.com>
# Previous Maintainer: TDY <tdy@gmx.com>
# Contributor: Massimiliano Torromeo <Massimiliano.Torromeo AT gmail DOT com>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - patch to fix qreal usage on ARM
pkgname=openssh-askpass
2014-02-01 16:45:28 +00:00
pkgver=2.0.1
pkgrel=1
2013-05-11 17:27:27 +00:00
pkgdesc='A plasma-like passphrase dialog for ssh'
arch=('i686' 'x86_64')
2014-02-01 16:45:28 +00:00
url='http://hugo.pereira.free.fr/software/index.php?page=package&package_list=software_list_qt4&package=openssh-askpass&full=0'
2013-05-11 17:27:27 +00:00
license=('GPL')
depends=('openssh' 'qt4')
makedepends=('cmake')
provides=('x11-ssh-askpass')
conflicts=('x11-ssh-askpass')
2014-02-01 16:45:28 +00:00
source=("http://hugo.pereira.free.fr/software/tgz/$pkgname-$pkgver.tar.gz"
2013-05-11 17:27:27 +00:00
"$pkgname.sh"
'arm.patch')
2014-02-01 16:45:28 +00:00
md5sums=('c196971941ff3773d9f977b52015b214'
2013-05-11 17:27:27 +00:00
'baec3f0499b851aca6705968fa9e0df7'
'c6c1f8d316bf526d1d7d959aafb4d020')
build() {
cd "$srcdir/$pkgname-$pkgver"
patch -p1 -i "${srcdir}"/arm.patch
mkdir -p build
cd build
cmake -DCMAKE_INSTALL_PREFIX="/usr" ..
make
}
package() {
cd "$srcdir/$pkgname-$pkgver/build"
make DESTDIR="$pkgdir" install
install -Dm755 "$srcdir/$pkgname.sh" "$pkgdir/etc/profile.d/$pkgname.sh"
}