diff options
author | negativeExponent | 2019-08-17 09:31:06 +0800 |
---|---|---|
committer | negativeExponent | 2019-08-17 09:33:48 +0800 |
commit | 030d1121f27550429364745419fc5e6161a2a431 (patch) | |
tree | 90d83d5855981ad4558f5533a6d6bc2d4a19cfba /debian_maemo/buildpkg | |
parent | fcb84f0c6ad095c355d8c0835fc6c5fcdc2a6813 (diff) | |
download | pcsx_rearmed-030d1121f27550429364745419fc5e6161a2a431.tar.gz pcsx_rearmed-030d1121f27550429364745419fc5e6161a2a431.tar.bz2 pcsx_rearmed-030d1121f27550429364745419fc5e6161a2a431.zip |
Backport GPU Unai plugin from PCSX4ALL
- backports gpu unai plugin from PCSX4ALL
- sync necessary files with notaz/master to allow building standalone app
Diffstat (limited to 'debian_maemo/buildpkg')
-rw-r--r-- | debian_maemo/buildpkg | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/debian_maemo/buildpkg b/debian_maemo/buildpkg new file mode 100644 index 0000000..4c34f94 --- /dev/null +++ b/debian_maemo/buildpkg @@ -0,0 +1,13 @@ +#!/bin/bash -e + +NAME=`head debian/changelog -n1 | sed -n 's/^\(.*\) (\(.*\)) .*/\1-\2/p'` +[[ -z $NAME ]] && { echo "Could not extract package name and version from debian/changelog" 2>&1; exit 1; } + +rm -rf ../$NAME +cp -r ../`basename $PWD` ../$NAME +cd ../$NAME +rm -rf .git* +find . -depth -name .svn -type d -exec rm -r {} \; +find . -name '*~' -exec rm {} \; + +LD_LIBRARY_PATH=/usr/lib dpkg-buildpackage -rfakeroot $* |