void-packages/srcpkgs/leafpad/template

20 lines
748 B
Bash

# Template file for 'leafpad'
pkgname=leafpad
version=0.8.18.1
revision=5
build_style=gnu-configure
hostmakedepends="intltool pkg-config"
makedepends="gettext-devel gtk+-devel desktop-file-utils hicolor-icon-theme"
depends="desktop-file-utils hicolor-icon-theme"
short_desc="GTK+ Simple text editor"
maintainer="Carlo Dormeletti <carlo.dormeletti@alice.it>"
license="GPL-2.0-or-later"
homepage="http://tarot.freeshell.org/leafpad/"
distfiles="http://download-mirror.savannah.gnu.org/releases/leafpad/leafpad-${version}.tar.gz"
checksum=959d22ae07f22803bc66ff40d373a854532a6e4732680bf8a96a3fbcb9f80a2c
post_patch() {
vsed -i -e 's/DATADIRNAME=lib/DATADIRNAME=share/' \
-e 's,localedir=.*eval echo.*,localedir=/usr/share/locale,' \
configure
}