1 # Maintainer: Aaron Griffin <aaron@archlinux.org>
2 # Contributor: Link Dupont <link@subpop.net>
7 pkgdesc='A notepad clone for GTK+ 2.0'
9 url='http://tarot.freeshell.org/leafpad/'
12 makedepends=('intltool')
13 validpgpkeys=('05B80A3FFAF8FED36ADC7A31EE109F4A0F184934') # Tarot Osuji <tarot@sdf.org>
14 source=("https://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.sig}
15 '0001-fix-format-security-error-from-gcc.patch')
16 sha256sums=('07d3f712f4dbd0a33251fd1dee14e21afdc9f92090fc768c11ab0ac556adbe97'
18 '2b99426837e0a78077931e33bbfac280b238e0d170366c09e62bf98770e837dc')
21 cd "${srcdir}/${pkgname}-${pkgver}"
23 patch -Np1 < ../0001-fix-format-security-error-from-gcc.patch
27 cd "${srcdir}/${pkgname}-${pkgver}"
36 cd "${srcdir}/${pkgname}-${pkgver}"
38 make DESTDIR="${pkgdir}" install
39 echo 'StartupNotify=true' >> "${pkgdir}/usr/share/applications/leafpad.desktop"