diff options
-rw-r--r-- | .SRCINFO | 44 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 69 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..01eafd679cbd --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,44 @@ +pkgbase = shiba-bin + pkgdesc = Rich markdown live preview app with linter.This application is being re-written from scratch to V2,using Rust, TypeScript and React + pkgver = 1.2.1 + pkgrel = 1 + url = https://github.com/rhysd/Shiba + arch = x86_64 + license = MIT + makedepends = gendesk + depends = gcc-libs + depends = libxfixes + depends = libxcomposite + depends = libxext + depends = libxrandr + depends = pango + depends = cairo + depends = glibc + depends = nspr + depends = at-spi2-core + depends = dbus + depends = libxcursor + depends = libxss + depends = libxtst + depends = libxrender + depends = libxdamage + depends = fontconfig + depends = libcups + depends = glib2 + depends = libx11 + depends = libxi + depends = expat + depends = gdk-pixbuf2 + depends = alsa-lib + depends = gtk3 + depends = nss + depends = libxcb + conflicts = shiba + conflicts = shiba-appimage + options = !strip + source = shiba-1.2.1.zip::https://github.com/rhysd/Shiba/releases/download/v1.2.1/Shiba-linux-x64.zip + source = shiba.png::https://raw.githubusercontent.com/master/build/images/shibainu.png + sha256sums = bce114feb8b6fccb6db4c933ed48d5fd0040c04ed30e16441b188320963d6fb7 + sha256sums = e94cd67aa4ba4e9ba4a90c939e3597caed218434e7d4c1e354495508bc1eae38 + +pkgname = shiba-bin diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..1e7331c40950 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: zxp19821005 <zxp19821005 at 163 dot com> +pkgname=shiba-bin +pkgver=1.2.1 +pkgrel=1 +pkgdesc="Rich markdown live preview app with linter.This application is being re-written from scratch to V2,using Rust, TypeScript and React" +arch=('x86_64') +url="https://github.com/rhysd/Shiba" +license=('MIT') +conflicts=("${pkgname%-bin}" "${pkgname%-bin}-appimage") +depends=('gcc-libs' 'libxfixes' 'libxcomposite' 'libxext' 'libxrandr' 'pango' 'cairo' 'glibc' 'nspr' 'at-spi2-core' 'dbus' 'libxcursor' 'libxss' \ + 'libxtst' 'libxrender' 'libxdamage' 'fontconfig' 'libcups' 'glib2' 'libx11' 'libxi' 'expat' 'gdk-pixbuf2' 'alsa-lib' 'gtk3' 'nss' 'libxcb') +makedepends=('gendesk') +options=(!strip) +source=("${pkgname%-bin}-${pkgver}.zip::${url}/releases/download/v${pkgver}/Shiba-linux-x64.zip" + "${pkgname%-bin}.png::https://raw.githubusercontent.com/master/build/images/shibainu.png") +sha256sums=('bce114feb8b6fccb6db4c933ed48d5fd0040c04ed30e16441b188320963d6fb7' + 'e94cd67aa4ba4e9ba4a90c939e3597caed218434e7d4c1e354495508bc1eae38') +package() { + install -Dm755 -d "${pkgdir}/opt/${pkgname%-bin}" + cp -r "${srcdir}/Shiba-linux-x64/"* "${pkgdir}/opt/${pkgname%-bin}" + install -Dm644 "${pkgdir}/opt/${pkgname%-bin}/LICENSE"* -t "${pkgdir}/usr/share/licenses/${pkgname}" + install -Dm644 "${srcdir}/${pkgname%-bin}.png" -t "${pkgdir}/usr/share/pixmaps" + gendesk -f --icon "${pkgname%-bin}" --categories "Utility" --name "Shiba" --exec "/opt/${pkgname%-bin}/Shiba %U" + install -Dm644 "${srcdir}/${pkgname%-bin}.desktop" -t "${pkgdir}/usr/share/applications" +}
\ No newline at end of file |