2
0

Fix the srcdir references

This commit is contained in:
XavierCLL 2018-05-31 16:32:53 -05:00
parent 7522c8bb40
commit 9419814ada

View File

@ -81,14 +81,14 @@ build() {
package() {
# base
install -dm 755 $pkgdir/opt/$pkgname
cp -dr --no-preserve=ownership $srcdir/pycharm-$_pkgver/* $pkgdir/opt/$pkgname
cp -dr --no-preserve=ownership pycharm-$_pkgver/* $pkgdir/opt/$pkgname
install -dm 755 $pkgdir/usr/share/{applications,pixmaps}
install -dm 755 $pkgdir/usr/bin/
install -Dm 644 $pkgdir/opt/$pkgname/bin/pycharm.png $pkgdir/usr/share/pixmaps/pycharm.png
# licenses
install -dm 755 $pkgdir/usr/share/licenses/$pkgname/
cp -dr --no-preserve=ownership $srcdir/pycharm-$_pkgver/license/* $pkgdir/usr/share/licenses/$pkgname
cp -dr --no-preserve=ownership pycharm-$_pkgver/license/* $pkgdir/usr/share/licenses/$pkgname
# exec
install -Dm 755 pycharm $pkgdir/usr/bin/