diff options
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -33,9 +33,9 @@ prepare() { cd "$srcdir/$_sourcedirectory/" find . -type f -exec sed -i 's|#!/usr/bin/python|#!/usr/bin/env python2.7|g' {} \; find . -type f -exec sed -i 's|#!/usr/bin/python2.7|#!/usr/bin/env python2.7|g' {} \; - rm -rf 'shared-data/'{mailpile-gui/,multipile/} - rm -rf 'shared-data/default-theme/'{less/,index.html} - rm -rf 'mailpile/tests' + rm -rf 'shared-data/'{"$pkgname-gui/",'multipile/'} + rm -rf 'shared-data/default-theme/'{'less/','index.html'} + rm -rf "$pkgname/tests" # One of the plugins is a submodule and doesn't get pulled automatically, provide it manually rm -rf 'shared-data/contrib/print/' mv "$srcdir/${pkgname^}-print-$_printcommit/" 'shared-data/contrib/print/' |