summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitris Kiziridis2020-05-15 04:02:07 +0300
committerDimitris Kiziridis2020-05-15 04:02:07 +0300
commit83cbf5071983cff25e6349fb6bf2139a24c90477 (patch)
treee1f775141a4aa7a9e35659aa29f0b6043586f491
parent776254ceb3b23ee94d1edb6552c2d3acdcf58b08 (diff)
downloadaur-83cbf5071983cff25e6349fb6bf2139a24c90477.tar.gz
sanitize pkgbuild
-rw-r--r--.SRCINFO11
-rw-r--r--PKGBUILD8
2 files changed, 11 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d9f02429bd4..2948a359637 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,15 @@
pkgbase = release-it
pkgdesc = Automate versioning and package publishing
- pkgver = 13.3.0
+ pkgver = 13.6.0
pkgrel = 1
url = https://github.com/release-it/release-it
- arch = x86_64
+ arch = any
license = MIT
makedepends = npm
- noextract = release-it-13.3.0.tar.gz
- source = release-it-13.3.0.tar.gz::https://github.com/release-it/release-it/archive/13.3.0.tar.gz
- md5sums = 9e476bee7b5f8e903410211758bfae12
+ depends = nodejs
+ noextract = release-it-13.6.0.tar.gz
+ source = release-it-13.6.0.tar.gz::https://github.com/release-it/release-it/archive/13.6.0.tar.gz
+ sha256sums = 34676f882afbbdff53270b583397020ae941d11e463140071d6d3792345f8ac0
pkgname = release-it
diff --git a/PKGBUILD b/PKGBUILD
index 0e174d4e46d..4a82ef390b4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,16 +1,17 @@
# Maintainer: Dimitris Kiziridis <ragouel at outlook dot com>
pkgname=release-it
-pkgver=13.3.0
+pkgver=13.6.0
pkgrel=1
pkgdesc="Automate versioning and package publishing"
-arch=('x86_64')
+arch=('any')
url='https://github.com/release-it/release-it'
license=('MIT')
+depends=('nodejs')
makedepends=('npm')
noextract=("${pkgname}-${pkgver}.tar.gz")
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
-md5sums=('9e476bee7b5f8e903410211758bfae12')
+sha256sums=('34676f882afbbdff53270b583397020ae941d11e463140071d6d3792345f8ac0')
package() {
npm install -g --user root --prefix "${pkgdir}/usr" "${srcdir}/${pkgname}-${pkgver}.tar.gz"
@@ -22,4 +23,5 @@ package() {
mv "$tmppackage" "$pkgjson"
chmod 644 "$pkgjson"
chown -R root:root "${pkgdir}"
+ install -Dm644 "${pkgdir}/usr/lib/node_modules/release-it/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}"
} \ No newline at end of file