Changed package description size
This commit is contained in:
parent
46c432f447
commit
65321dcaa8
2 changed files with 7 additions and 3 deletions
4
.SRCINFO
4
.SRCINFO
|
@ -1,7 +1,7 @@
|
||||||
pkgbase = sublime-text-3-imfix
|
pkgbase = sublime-text-3-imfix
|
||||||
pkgdesc = Sophisticated text editor for code, markup and prose - Stable build with input method support for CJK users
|
pkgdesc = Sophisticated text editor for code, html and prose - Stable build with support for CJK
|
||||||
pkgver = 3.3211
|
pkgver = 3.3211
|
||||||
pkgrel = 1
|
pkgrel = 2
|
||||||
url = https://www.sublimetext.com/3
|
url = https://www.sublimetext.com/3
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
license = custom
|
license = custom
|
||||||
|
|
6
PKGBUILD
6
PKGBUILD
|
@ -3,7 +3,7 @@
|
||||||
pkgname=sublime-text-3-imfix
|
pkgname=sublime-text-3-imfix
|
||||||
pkgver=3.3211
|
pkgver=3.3211
|
||||||
pkgrel=2
|
pkgrel=2
|
||||||
pkgdesc='Sophisticated text editor for code, markup and prose - Stable build with input method support for CJK users'
|
pkgdesc="Sophisticated text editor for code, html and prose - Stable build with support for CJK"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url='https://www.sublimetext.com/3'
|
url='https://www.sublimetext.com/3'
|
||||||
license=('custom')
|
license=('custom')
|
||||||
|
@ -19,20 +19,24 @@ sha256sums=('0b3c8ca5e6df376c3c24a4b9ac2e3b391333f73b229bc6e87d0b4a5f636d74ee'
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "${srcdir}"
|
cd "${srcdir}"
|
||||||
|
|
||||||
# Install sublime text 3
|
# Install sublime text 3
|
||||||
install -dm755 "${pkgdir}/opt"
|
install -dm755 "${pkgdir}/opt"
|
||||||
cp --preserve=mode -r "sublime_text_3" "${pkgdir}/opt/sublime_text_3"
|
cp --preserve=mode -r "sublime_text_3" "${pkgdir}/opt/sublime_text_3"
|
||||||
|
|
||||||
# Install icons
|
# Install icons
|
||||||
for res in 128x128 16x16 256x256 32x32 48x48; do
|
for res in 128x128 16x16 256x256 32x32 48x48; do
|
||||||
install -dm755 "${pkgdir}/usr/share/icons/hicolor/${res}/apps"
|
install -dm755 "${pkgdir}/usr/share/icons/hicolor/${res}/apps"
|
||||||
ln -s "/opt/sublime_text_3/Icon/${res}/sublime-text.png" "${pkgdir}/usr/share/icons/hicolor/${res}/apps/sublime-text.png"
|
ln -s "/opt/sublime_text_3/Icon/${res}/sublime-text.png" "${pkgdir}/usr/share/icons/hicolor/${res}/apps/sublime-text.png"
|
||||||
done
|
done
|
||||||
|
|
||||||
# Install desktop entry and executable
|
# Install desktop entry and executable
|
||||||
install -dm755 "${pkgdir}/usr/share/applications"
|
install -dm755 "${pkgdir}/usr/share/applications"
|
||||||
install -Dm644 "sublime_text_3/sublime_text.desktop" "${pkgdir}/usr/share/applications/sublime_text.desktop"
|
install -Dm644 "sublime_text_3/sublime_text.desktop" "${pkgdir}/usr/share/applications/sublime_text.desktop"
|
||||||
sed -i 's#/opt/sublime_text/sublime_text#subl#g' "${pkgdir}/usr/share/applications/sublime_text.desktop"
|
sed -i 's#/opt/sublime_text/sublime_text#subl#g' "${pkgdir}/usr/share/applications/sublime_text.desktop"
|
||||||
install -dm755 "${pkgdir}/usr/bin"
|
install -dm755 "${pkgdir}/usr/bin"
|
||||||
ln -s "/opt/sublime_text_3/sublime_text" "${pkgdir}/usr/bin/subl"
|
ln -s "/opt/sublime_text_3/sublime_text" "${pkgdir}/usr/bin/subl"
|
||||||
|
|
||||||
# Install license file
|
# Install license file
|
||||||
install -d "${pkgdir}/usr/share/licenses/${pkgname}"
|
install -d "${pkgdir}/usr/share/licenses/${pkgname}"
|
||||||
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||||
|
|
Loading…
Reference in a new issue