diff options
author | scheckley | 2021-06-07 10:23:02 +0100 |
---|---|---|
committer | scheckley | 2021-06-07 10:23:02 +0100 |
commit | 5d03299120c5078281d6e56b14282ebf834e1afb (patch) | |
tree | 181637842117bd35423c46f02d3bf37b069c698c /PKGBUILD | |
parent | 8707923f3de8a40de324d76f4108200108eaed85 (diff) | |
download | aur-5d03299120c5078281d6e56b14282ebf834e1afb.tar.gz |
added patch fix from jrohwer (thanks) to correct install location
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 18 |
1 files changed, 10 insertions, 8 deletions
@@ -28,16 +28,18 @@ package() { fi cd "$srcdir" - sh $pkgname-$pkgver.sh -e ~/ - - rm ~/COPASI-$pkgver-Linux-$arch_flag/share/copasi/lib/libfreetype.so.6 - ln -s /usr/lib/libfreetype.so ~/COPASI-$pkgver-Linux-$arch_flag/share/copasi/lib/ - ln -s /usr/lib/libfreetype.so.6 ~/COPASI-$pkgver-Linux-$arch_flag/share/copasi/lib/ + sh $pkgname-$pkgver.sh -e `pwd` + cd "$srcdir"/COPASI-$pkgver-Linux-$arch_flag + rm share/copasi/lib/libfreetype.so.6 + ln -s /usr/lib/libfreetype.so share/copasi/lib/ + ln -s /usr/lib/libfreetype.so.6 share/copasi/lib/ + # install program files - install -m755 bin/* /usr/bin/ - cp -R ~/COPASI-$pkgver-Linux-$arch_flag/share/copasi /usr/share/ - + install -d "$pkgdir"/usr/{bin,share} + install -m755 bin/* "$pkgdir"/usr/bin + cp -R share/copasi "$pkgdir"/usr/share/ + # desktop integration... cd "$srcdir"/copasi-desktop install -Dm755 copasi.sh "$pkgdir/etc/profile.d/copasi.sh" |