diff options
author | Daniel Peukert | 2020-06-14 12:40:43 +0200 |
---|---|---|
committer | Daniel Peukert | 2020-06-14 12:40:43 +0200 |
commit | a51a17d4b6aa412871f4945e35c3672bd362e3eb (patch) | |
tree | 72d0905e7d7b3ae998d44de89789e3fbb63cae7d /PKGBUILD | |
parent | 243425fe9941149e53d6773b698753254a3ab995 (diff) | |
download | aur-mailpile.tar.gz |
Fixed python hashbang regex
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -5,7 +5,7 @@ pkgname='mailpile' pkgver='1.0.0rc6' _printcommit='7c1372b999dd6e68710e08e16778f2986c064295' -pkgrel='2' +pkgrel='3' pkgdesc='A free & open modern, fast email client with user-friendly encryption and privacy features' arch=('any') url="http://www.$pkgname.is" @@ -31,8 +31,8 @@ _sourcedirectory="${pkgname^}-$pkgver" 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' {} \; + 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/'{"$pkgname-gui/",'multipile/'} rm -rf 'shared-data/default-theme/'{'less/','index.html'} rm -rf "$pkgname/tests" |