mirror of
https://github.com/archlinux/aur.git
synced 2026-02-09 06:38:44 +01:00
Merge branch 'master' of ssh://aur.archlinux.org/sled
This commit is contained in:
commit
04df2e7dd1
1 changed files with 10 additions and 0 deletions
10
PKGBUILD
10
PKGBUILD
|
|
@ -21,11 +21,21 @@ build() {
|
|||
# (uncomment next line)
|
||||
#sed -i 's,^\(#define ENABLE_WRAP\),//\1,' config.h
|
||||
|
||||
# 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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue