mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-06 00:34:41 +02:00
https://launchpadlibrarian.net/601840052/ChangeLog Fix build error during autoreconf with gettext 0.24.1. ``` configure:5903: error: possibly undefined macro: AM_NLS If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. autoreconf: error: /usr/bin/autoconf failed with exit status: 1 ```
43 lines
1.1 KiB
Text
43 lines
1.1 KiB
Text
# Contributor: Díaz Urbaneja Diego <sodomon2@gmail.com>
|
|
# Maintainer: Díaz Urbaneja Diego <sodomon2@gmail.com>
|
|
pkgname=xpad
|
|
pkgver=5.8.0
|
|
pkgrel=0
|
|
pkgdesc="Stickies-like notes application"
|
|
url="https://launchpad.net/xpad"
|
|
arch="all"
|
|
license="GPL-3.0-only"
|
|
makedepends="automake autoconf libtool intltool gtk+3.0-dev
|
|
gtksourceview4-dev libsm-dev"
|
|
subpackages="$pkgname-doc $pkgname-lang"
|
|
source="https://launchpad.net/xpad/trunk/$pkgver/+download/xpad-$pkgver.tar.bz2
|
|
gettext-0.24.1.patch
|
|
"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
# gettext m4 macros moved in 0.24.1, include the new path
|
|
autoreconf -vfi -I /usr/share/gettext/m4
|
|
cp -r data/xpad.desktop.in "$builddir"
|
|
}
|
|
|
|
build() {
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="
|
|
95db5034ac1a5eaff2ed9c3f2cced3a086bde692f77c25f70a9620c167860a5fdfb43dae3e143aaaf4d3d8f5ca75512afc98efde8a968709c3910964ffd9821f xpad-5.8.0.tar.bz2
|
|
d7236b6d1857e979b5f168a14733d191a9b0a367413891af40f9ea6ef5fc60e9804f6b66bf0caebef4b11b68c72a132e6adfcabc25f47fc908af2d3886cfaad6 gettext-0.24.1.patch
|
|
"
|