void-packages/srcpkgs/leafpad/template
2021-04-07 00:02:46 +02:00

20 lines
735 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="Orphaned <orphan@voidlinux.org>"
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
}