summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0b46b698560f968230de40a7a16ebfa266c18212 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Maintainer: Frederic Bezies <fredbezies at gmail dot com>
# Contributor: Dimitris Kiziridis <ragouel at outlook dot com>

pkgname=omniawrite
pkgver=1.3.2
pkgrel=1
pkgdesc="A next-generation cross-platform plain text editor engineered for creative writing"
arch=('x86_64')
url='https://omniawrite.com'
depends=('gtk3'
         'nss')
license=("custom:${pkgname}")
source=("${pkgname}-${pkgver}.rpm::https://external.omniawrite.com/download/rpm"
        'LICENSE')
sha256sums=('1990b66dfd48b1e6f5bcf14b12fa06bffa047ce486b6a5acfdb9b6845721f73c'
            'dbc3c7b9f55c9230e503fcafce4a0453fbbcfcca2e598f74e5fb29b538671402')

package() {
  cp -aR opt/ "${pkgdir}/"
  rm -rf usr/lib
  cd usr/share/icons/hicolor
  mv 0x0 512x512
  cd "${srcdir}"
  cp -aR usr/ "${pkgdir}/"
  install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
}