summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorBert-Jan Fikse2020-08-01 03:35:56 +0200
committerBert-Jan Fikse2020-08-01 03:35:56 +0200
commitf7ff3b3a7aca30aac8286f4c6426462b5c71fce7 (patch)
treeb8f3af9c8f18a10aa1f99b39abcb04492b908ce0 /PKGBUILD
parentdb970eebb4acc1e454dc89991d1e97762a93e9b9 (diff)
downloadaur-wwd-dde.tar.gz
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 6fde1e9e12f..16d09479c56 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -14,7 +14,9 @@ pkgdesc="Local development environment toolset based on Docker supporting multip
package () {
mkdir -p ${pkgdir}/opt/whatwedo/dde
mkdir -p ${pkgdir}/usr/bin
- rsync -rtl ${srcdir}/dde-${pkgver}/* ${pkgdir}/opt/whatwedo/dde
- echo make -f /opt/whatwedo/dde/Makefile > ${pkgdir}/usr/bin/dde
+ sed -i 's/\- \.\/data/\- ~\/\.dde\/data/g' ${srcdir}/dde-${pkgver}/docker-compose.yml
+ sed -i 's/\$(ROOT_DIR)\/data/\~\/\.dde\/data/g' ${srcdir}/dde-${pkgver}/Makefile
+ cp -rf ${srcdir}/dde-${pkgver}/* ${pkgdir}/opt/whatwedo/dde
+ echo 'make -f /opt/whatwedo/dde/Makefile "$@"' > ${pkgdir}/usr/bin/dde
chmod 755 ${pkgdir}/usr/bin/dde
} \ No newline at end of file