db-move: moved webkit2gtk from [testing] to [extra] (x86_64)
[arch-packages.git] / putty / repos / extra-x86_64 / PKGBUILD
blob7bb9fddfe38f184eda984fdcadbfd3d59de23fae
1 # Maintainer: Eric BĂ©langer <eric@archlinux.org>
3 pkgname=putty
4 pkgver=0.78
5 pkgrel=1
6 pkgdesc='A terminal integrated SSH/Telnet client'
7 arch=('x86_64')
8 url='https://www.chiark.greenend.org.uk/~sgtatham/putty/'
9 license=('MIT')
10 depends=('gtk3')
11 makedepends=('cmake')
12 validpgpkeys=('2CF6134BD3F77A6588EBD668E4F83EA2AA4915EC') # PuTTY Releases <putty@projects.tartarus.org>
13 source=("https://the.earth.li/~sgtatham/putty/${pkgver}/${pkgname}-${pkgver}.tar.gz"
14         "putty-${pkgver}.tar.gz.sig::https://the.earth.li/~sgtatham/putty/${pkgver}/putty-${pkgver}.tar.gz.gpg"
15         'putty.desktop'
16         'putty.png'
17         'putty.xpm')
18 sha256sums=('274e01bcac6bd155dfd647b2f18f791b4b17ff313753aa919fcae2e32d34614f'
19             'SKIP'
20             '4a8af81fe8ac702ad298606076088f237b83beed82cc089a32f314888b67cf2c'
21             '621abf249dc6c6326faf259565546df84635b3afbe31893145a5056d8b114396'
22             'd65139883171ed0119d9778ff4a89e6a8151a5ae97fcf8dc7cafb59df424377f')
24 build() {
25   mkdir build
26   cd build
28   cmake \
29     "${srcdir}"/${pkgname}-${pkgver}/ \
30     -DCMAKE_INSTALL_PREFIX=/usr
31   make
34 package() {
35   cd build
37   make DESTDIR="${pkgdir}" install
38   
39   install -D -m0644 "${srcdir}"/${pkgname}-${pkgver}/LICENCE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
40   install -D -m0644 "${srcdir}"/putty.desktop "${pkgdir}"/usr/share/applications/putty.desktop
41   install -D -m0644 "${srcdir}"/putty.png "${pkgdir}"/usr/share/pixmaps/putty.png
42   install -D -m0644 "${srcdir}"/putty.xpm "${pkgdir}"/usr/share/pixmaps/putty.xpm