diff options
author | Milk Brewster | 2018-08-17 03:49:37 +0100 |
---|---|---|
committer | Milk Brewster | 2018-08-17 03:49:37 +0100 |
commit | e03ddbd1c741d8a9a4846c0ca1c82fe6e54d66e7 (patch) | |
tree | 3f8ff68de0907dd4e65c7df48d8e8d9c2b539d7c | |
parent | 6484b4839f5be47d28b277653a73f9f1431e10e9 (diff) | |
download | aur-e03ddbd1c741d8a9a4846c0ca1c82fe6e54d66e7.tar.gz |
move all compilation to build phase
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -36,14 +36,15 @@ pkgver() { printf "%s" "$(git describe --long --tags | sed 's/\([^-]*-\)g/r\1/;s/-/./g')" } -prepare() { + +build() { cd "$srcdir/ff-3pt" if [ -d "/tmp/ff3pt-build" ]; then rm -rf /tmp/ff3pt-build fi - mkdir -p _src + curl -L "https://sourceforge.net/projects/lame/files/latest/download?source=files" --output "_src/lame-3.100.tar.gz" curl -L "https://sourceforge.net/projects/soxr/files/latest/download?source=files" --output "_src/soxr-0.1.3-Source.tar.xz" @@ -63,9 +64,6 @@ prepare() { echo && echo && make soxr echo && echo && make vorbis echo && echo && make wavpack -} - -build() { cd "$srcdir/${_pkgname}" export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:../ff-3pt/_bin/linux-amd64 make FF3PTLIB=../ff-3pt/_bin/linux-amd64 install |