diff options
author | David Birks | 2019-05-15 06:50:49 -0400 |
---|---|---|
committer | David Birks | 2019-05-15 06:50:49 -0400 |
commit | e2c28c0a7357dc63b900e981c1e8f177612b7293 (patch) | |
tree | 3a110d9813e6f4892e0056333574ae464c997752 /PKGBUILD | |
parent | 28cf823fec95a0cd40a04153e9e202d5c14a83c4 (diff) | |
download | aur-e2c28c0a7357dc63b900e981c1e8f177612b7293.tar.gz |
Change to my PKGBUILD preferences
Remove unneeded licenses
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 26 |
1 files changed, 9 insertions, 17 deletions
@@ -1,43 +1,35 @@ -# Maintainer: Simon Doppler (dopsi) <dop.simon@gmail.com> -# Co-maintainer: David Birks <david@tellus.space> -# Contributor: dpeukert +# Maintainer: David Birks <david@tellus.space> pkgname=marktext pkgver=0.14.0 pkgrel=1 -pkgdesc='Next generation markdown editor' -arch=('x86' 'x86_64') +pkgdesc='A simple and elegant open-source markdown editor that focused on speed and usability' +arch=('x86_64') url='https://github.com/marktext/marktext' license=('MIT') +conflicts=('marktext-bin' 'marktext-git') depends=('gtk3' 'libxss' 'nss') makedepends=('yarn') -source=("${pkgname}-${pkgver}.tar.gz::http://github.com/${pkgname}/${pkgname}/archive/v${pkgver}.tar.gz") +source=("$pkgname-$pkgver.tar.gz::http://github.com/marktext/marktext/archive/v$pkgver.tar.gz") sha512sums=('11249a2b350a973dd4e35c6f1bedf61415c6e49e22f8e344a4e3f942244cfea5d587adfe7f472e26696ab7e91fc5f17337e6de5db32de2ced964dadd5907c003') build() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd "$srcdir/$pkgname-$pkgver" yarn install yarn build:dir } package() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd "$srcdir/$pkgname-$pkgver" install -d "$pkgdir/usr/lib" cp -r "build/linux-unpacked" "$pkgdir/usr/lib/$pkgname" # Symlink main binary - install -d "${pkgdir}/usr/bin" - ln -s "/usr/lib/${pkgname}/${pkgname}" "${pkgdir}/usr/bin/${pkgname}" - - # Install license file - install -D LICENSE "${pkgdir}/usr/share/licenses/$pkgname/LICENSE" - install -D build/linux-unpacked/LICENSE.electron.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.electron.txt" - install -D build/linux-unpacked/LICENSES.chromium.html "$pkgdir/usr/share/licenses/$pkgname/LICENSES.chromium.html" + install -d "$pkgdir/usr/bin" + ln -s "/usr/lib/$pkgname/$pkgname" "$pkgdir/usr/bin/$pkgname" # Install desktop file and icon install -D "resources/linux/marktext.desktop" "$pkgdir/usr/share/applications/marktext.desktop" install -D "resources/icons/icon.png" "$pkgdir/usr/share/pixmaps/marktext.png" } - -# vim:ts=4:sw=4:expandtab |