summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorCaleb Maclennan2019-08-26 08:31:34 +0300
committerCaleb Maclennan2019-08-26 08:31:34 +0300
commit40afcf821e982e693856dcd018f0b9bdcd7b5a61 (patch)
tree27fc9a50d0301c034a8b16c39623378586140949 /PKGBUILD
parent9bf1b2c468fde6c7d24f31a256553c94ddafc995 (diff)
downloadaur-typecatcher.tar.gz
Cleanup bash shell quoting using shellharden
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD16
1 files changed, 8 insertions, 8 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 92586e0d1b4..3beb31231f8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,19 +11,19 @@ url='https://github.com/andrewsomething/typecatcher'
screenshot='http://andrewsomething.files.wordpress.com/2012/11/selection_005.png'
license=('GPL3')
depends=('python' 'python-distutils-extra' 'python-gobject' 'yelp' 'webkit2gtk' 'gobject-introspection' 'gtk3')
-source=("https://github.com/andrewsomething/${pkgname}/archive/${pkgver}.tar.gz")
+source=("https://github.com/andrewsomething/$pkgname/archive/$pkgver.tar.gz")
sha256sums=('1328a54021d0c575f7e4c4f7331c33cfff361861b065278998f0a186aa92c7b3')
build() {
- cd "${pkgname}-${pkgver}"
+ cd "$pkgname-$pkgver"
python setup.py build
}
package() {
- cd "${pkgname}-${pkgver}"
- python setup.py install --root=$pkgdir --optimize=1
- install -dm755 ${pkgdir}/usr/share/licenses/${pkgname}/
- install -Dpm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/
- install -dm755 ${pkgdir}/usr/share/doc/${pkgname}/
- install -Dpm644 AUTHORS ${pkgdir}/usr/share/doc/${pkgname}/
+ cd "$pkgname-$pkgver"
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -dm755 "$pkgdir/usr/share/licenses/$pkgname"/
+ install -Dpm644 COPYING "$pkgdir/usr/share/licenses/$pkgname"/
+ install -dm755 "$pkgdir/usr/share/doc/$pkgname"/
+ install -Dpm644 AUTHORS "$pkgdir/usr/share/doc/$pkgname"/
}