blob: 5ef7fff96d49be78c698221fbc65933b5177e64c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Maintainer: Strahinya Radich <contact@strahinja.org>
pkgname=poe
pkgver=1.8.6
pkgrel=1
pkgdesc=".po file editor"
arch=('x86_64')
url="https://strahinja.srht.site/poe"
license=('GPL3')
source=("$pkgname-$pkgver.tar.gz::https://git.sr.ht/~strahinja/poe/archive/v$pkgver.tar.gz")
md5sums=('244e6be7eb7904fb032b354257568a20')
build() {
cd "${pkgname}-v$pkgver"
# Some build environments insist on having those preset, which breaks
# the build; if you really want some of them, comment the 'unset' lines
# below, but note you are on your own wrt errors.
unset BINDIR CC CFLAGS CPPFLAGS DOCDIR HEADERS INSTALL LDFLAGS LIBS
unset MANPAGE MANPREFIX OBJS PROG SRC
make FALLBACKVER="${pkgver}-$pkgrel" DESTDIR="$pkgdir" PREFIX="/usr" all
}
package() {
cd "${pkgname}-v$pkgver"
unset BINDIR CC CFLAGS CPPFLAGS DOCDIR HEADERS INSTALL LDFLAGS LIBS
unset MANPAGE MANPREFIX OBJS PROG SRC
make FALLBACKVER="${pkgver}-$pkgrel" DESTDIR="$pkgdir" PREFIX="/usr" \
install
}
|