summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b86d0fe0212be0cbf2a49c57d0b39a14237fe2a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: zxp19821005 <zxp19821005 at 163 dot com>
_pkgname=calmly-writer
pkgname="${_pkgname}-bin"
pkgver=2.0.52
pkgrel=2
pkgdesc="Calmly Writer is an editor designed to focus on what you want to tell, with a simple, unobtrusive and ease-to-use user interface."
arch=('x86_64')
url="https://www.calmlywriter.com"
license=('custom')
conflicts=("${_pkgname}")
depends=(gtk3 glibc libxrandr libxfixes libxkbcommon lib32-gcc-libs pango libdrm libcups gdk-pixbuf2 alsa-lib at-spi2-core libx11 libxdamage \
    nspr libxcb nss dbus hicolor-icon-theme libxext libxcomposite mesa gcc-libs glib2 lib32-glibc expat cairo sh)
options=()
source=("${_pkgname}_${pkgver}.deb::${url}/releases/linux/deb/x64/${_pkgname}_${pkgver}_amd64.deb"
    "LICENSE::${url}/eula.htm")
sha256sums=('45d223301278c81479e5483372805ce409c53c4c1412975312990ee39e6c031a'
            '57ca9932cc353e0734325a3e0377abc9645021c908a81a44446b2153ee19c6d9')
package() {
    bsdtar -xf data.tar.xz -C "${pkgdir}"
    install -Dm644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}