summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrank Seifferth2022-05-22 18:33:17 +0200
committerFrank Seifferth2022-05-22 18:34:06 +0200
commit7a06b2c662dfc92a1f7c9a2cccc20c0f8ab81e8e (patch)
tree9d5d23d8a81207b23171ab1ff8fec72673534fa6
parent2eb7041656f3e2925d6554ef02ae091af6fd1122 (diff)
downloadaur-abricotine-git.tar.gz
Use 'npm pack' for creating the package files
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD4
2 files changed, 2 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 95b37fa4b94..ef43c4d0e6a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -7,9 +7,6 @@ pkgbase = abricotine-git
license = GPL3
makedepends = npm
makedepends = git
- makedepends = dpkg
- makedepends = rpm
- makedepends = libxcrypt-compat
depends = libxss
provides = abricotine
conflicts = abricotine
diff --git a/PKGBUILD b/PKGBUILD
index 7fd53c3bea5..37a6ef9863f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,7 +11,7 @@ arch=('x86_64')
url="http://abricotine.brrd.fr"
license=('GPL3')
depends=('libxss')
-makedepends=('npm' 'git' 'dpkg' 'rpm' 'libxcrypt-compat')
+makedepends=('npm' 'git')
source=("abricotine::git+https://github.com/brrd/abricotine"
"abricotine.desktop")
sha256sums=('SKIP'
@@ -27,7 +27,7 @@ build() {
cd "${srcdir}/abricotine"
npm install --cache ../cache --devdir="${srcdir}/devdir"
- npm run dist --cache ../cache --devdir="${srcdir}/devdir"
+ npm run pack --cache ../cache --devdir="${srcdir}/devdir"
}
package() {