diff options
author | jonian | 2022-12-24 20:21:37 +0200 |
---|---|---|
committer | jonian | 2022-12-24 20:21:37 +0200 |
commit | 81ecd0584154abdc9d5f5269a1007a3acc5dfe5b (patch) | |
tree | 912d082670cf79c1c1d4b30fcd0ca7681e7b27dd | |
parent | c587f7f31cbe1069ba7666a52e10278740d5d8c6 (diff) | |
download | aur-81ecd0584154abdc9d5f5269a1007a3acc5dfe5b.tar.gz |
fix missing icon
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 7 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = pulsar-bin pkgdesc = A community-led hyper-hackable text editor, built on electron pkgver = 1.100.0beta - pkgrel = 1 + pkgrel = 2 url = https://github.com/pulsar-edit/pulsar arch = x86_64 license = MIT @@ -3,10 +3,11 @@ _pkgver=1.100.0 _pkgtag=beta +_pkgrel="${_pkgver}-${_pkgtag}" pkgname="pulsar-bin" pkgver="${_pkgver}${_pkgtag}" -pkgrel=1 +pkgrel=2 pkgdesc="A community-led hyper-hackable text editor, built on electron" arch=("x86_64") url="https://github.com/pulsar-edit/pulsar" @@ -19,7 +20,7 @@ optdepends=( ) provides=("pulsar") conflicts=("pulsar") -source=("pulsar-${pkgver}.deb::$url/releases/download/v${_pkgver}-${_pkgtag}/Linux.pulsar_${_pkgver}-${_pkgtag}_amd64.deb") +source=("pulsar-${pkgver}.deb::$url/releases/download/v${_pkgrel}/Linux.pulsar_${_pkgrel}_amd64.deb") sha256sums=('a5ee6d068c0b3b5d0aa3feffc8107ef62d44035af22d0373cee89fddb34bd605') prepare() { @@ -34,6 +35,9 @@ package() { find "$pkgdir/opt/Pulsar/resources/app/ppm" -type d -name "spec" -exec rm -rf {} + find "$pkgdir/opt/Pulsar/resources/app.asar.unpacked" -type d -name "spec" -exec rm -rf {} + + # Fix icon path. Remove if fixed upstream + mv "$pkgdir/usr/share/icons/hicolor/0x0" "$pkgdir/usr/share/icons/hicolor/scalable" + mkdir -p "$pkgdir/usr/bin" chmod +x "$pkgdir/opt/Pulsar/resources/pulsar.sh" |