diff options
author | daniel-j | 2020-08-10 11:54:19 +0200 |
---|---|---|
committer | daniel-j | 2020-08-10 11:54:19 +0200 |
commit | 98952b3bdbd02eee14ab87ffcaf58655eaadcbc8 (patch) | |
tree | 7ee2f132fb1dbca987269a14cbc150529870af24 | |
parent | 39ab04c9ad9e6d4ad66cb892b5b2a9840b9f1152 (diff) | |
download | aur-98952b3bdbd02eee14ab87ffcaf58655eaadcbc8.tar.gz |
bump version 1.7.45
-rw-r--r-- | .SRCINFO | 8 | ||||
-rwxr-xr-x | PKGBUILD | 20 |
2 files changed, 17 insertions, 11 deletions
@@ -1,15 +1,17 @@ pkgbase = fimfic2epub pkgdesc = Tool to generate improved EPUB ebooks from Fimfiction stories - pkgver = 1.7.42 + pkgver = 1.7.45 pkgrel = 1 url = https://github.com/daniel-j/fimfic2epub arch = any license = MIT makedepends = npm depends = nodejs + depends = libjpeg-turbo + depends = pango options = !strip - source = https://github.com/daniel-j/fimfic2epub/archive/v1.7.42.tar.gz - sha256sums = 508c404cf683941ecedacdf5587974eaa2a5dc2bba5425d30d002b6f4eb0f328 + source = https://github.com/daniel-j/fimfic2epub/archive/v1.7.45.tar.gz + sha256sums = 446f4e03c37cb766099344e2694558f62defe856ea728b226526b982e9c9339f pkgname = fimfic2epub @@ -1,30 +1,34 @@ # Maintainer: djazz pkgname=fimfic2epub -pkgver=1.7.42 +pkgver=1.7.45 pkgrel=1 pkgdesc="Tool to generate improved EPUB ebooks from Fimfiction stories" arch=('any') -url="https://github.com/daniel-j/fimfic2epub" +url="https://github.com/daniel-j/${pkgname}" license=('MIT') -depends=('nodejs') +depends=('nodejs' 'libjpeg-turbo' 'pango') makedepends=('npm') options=(!strip) -source=("https://github.com/daniel-j/fimfic2epub/archive/v${pkgver}.tar.gz") +source=("https://github.com/daniel-j/${pkgname}/archive/v${pkgver}.tar.gz") sha256sums=( - '508c404cf683941ecedacdf5587974eaa2a5dc2bba5425d30d002b6f4eb0f328' + '446f4e03c37cb766099344e2694558f62defe856ea728b226526b982e9c9339f' ) package() { cd "${srcdir}/${pkgname}-${pkgver}" echo "Installing dependencies..." - npm install --cache "${srcdir}/npm-cache" + npm install --cache "${srcdir}/npm-cache" --build-from-source - echo "Building fimfic2epub..." + + echo "Building ${pkgname}..." npm run -- build webpack --standalone - install -D "bin/fimfic2epub" "${pkgdir}/usr/bin/${pkgname}" + install -d "${pkgdir}/usr/lib/${pkgname}" + install "build/${pkgname}" "build/"*".node" "${pkgdir}/usr/lib/${pkgname}" + install -d "${pkgdir}/usr/bin" + ln -s "/usr/lib/${pkgname}/${pkgname}" "${pkgdir}/usr/bin/${pkgname}" install -Dm 644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" chown -R root:root "$pkgdir" |