OCaml 4.14.0 rebuild
[arch-packages.git] / leafpad / trunk / PKGBUILD
blobbc73548b2d9dfe30542f95793c08eb7502c9dd1a
1 # Maintainer: Aaron Griffin <aaron@archlinux.org>
2 # Contributor: Link Dupont <link@subpop.net>
4 pkgname=leafpad
5 pkgver=0.8.18.1
6 pkgrel=9
7 pkgdesc="A notepad clone for GTK+ 2.0"
8 arch=('x86_64')
9 url="http://tarot.freeshell.org/leafpad/"
10 license=('GPL')
11 depends=('gtk2')
12 makedepends=('intltool')
13 source=("https://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz"
14         '0001-truncate.patch')
15 sha256sums=('959d22ae07f22803bc66ff40d373a854532a6e4732680bf8a96a3fbcb9f80a2c'
16             '9d9073ec4684e77cd1a6dd0cec4351750f9f61f2a6bab0e97f06ae6d00b7d2c4')
18 prepare() {
19   cd "${srcdir}/${pkgname}-${pkgver}"
21   patch -Np1 < "${srcdir}/"0001-truncate.patch
24 build() {
25   cd "${srcdir}/${pkgname}-${pkgver}"
27   ./configure --prefix=/usr --enable-chooser
28   make
31 package() {
32   cd "${srcdir}/${pkgname}-${pkgver}"
34   make DESTDIR="${pkgdir}" install
35   echo 'StartupNotify=true' >> "${pkgdir}/usr/share/applications/leafpad.desktop"