summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrank Seifferth2022-05-22 17:42:58 +0200
committerFrank Seifferth2022-05-22 17:53:26 +0200
commit2eb7041656f3e2925d6554ef02ae091af6fd1122 (patch)
treec9fd2e33e0669810b1fa3f5e667d8edc5236967e
parent21a595913d1b2795f9c4196669ed5f832bb464a3 (diff)
downloadaur-2eb7041656f3e2925d6554ef02ae091af6fd1122.tar.gz
Update actual build commands to match current version
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD22
2 files changed, 14 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8b9f9592d2e..95b37fa4b94 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -6,8 +6,10 @@ pkgbase = abricotine-git
arch = x86_64
license = GPL3
makedepends = npm
- makedepends = python2
makedepends = git
+ makedepends = dpkg
+ makedepends = rpm
+ makedepends = libxcrypt-compat
depends = libxss
provides = abricotine
conflicts = abricotine
diff --git a/PKGBUILD b/PKGBUILD
index c6debe21dbc..7fd53c3bea5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,7 +11,7 @@ arch=('x86_64')
url="http://abricotine.brrd.fr"
license=('GPL3')
depends=('libxss')
-makedepends=('npm' 'python2' 'git')
+makedepends=('npm' 'git' 'dpkg' 'rpm' 'libxcrypt-compat')
source=("abricotine::git+https://github.com/brrd/abricotine"
"abricotine.desktop")
sha256sums=('SKIP'
@@ -24,21 +24,21 @@ pkgver() {
}
build() {
- cd "$srcdir/abricotine"
+ cd "${srcdir}/abricotine"
- npm install --cache ../cache --devdir="$srcdir/devdir"
- npm run packager
+ npm install --cache ../cache --devdir="${srcdir}/devdir"
+ npm run dist --cache ../cache --devdir="${srcdir}/devdir"
}
package() {
- cd "$srcdir/abricotine"
+ cd "${srcdir}/abricotine"
- install -d "$pkgdir/opt/abricotine"
- cp -r dist/*/* "$pkgdir/opt/abricotine"
+ install -d "${pkgdir}/opt/abricotine"
+ cp -r dist/linux-unpacked/* "${pkgdir}/opt/abricotine"
- install -d "$pkgdir/usr/bin"
- ln -s "/opt/abricotine/abricotine" "$pkgdir/usr/bin/abricotine"
+ install -d "${pkgdir}/usr/bin"
+ ln -s "/opt/abricotine/abricotine" "${pkgdir}/usr/bin/abricotine"
- install -Dm644 "../abricotine.desktop" -t "$pkgdir/usr/share/applications/"
- install -Dm644 "icons/abricotine@2x.png" "$pkgdir/usr/share/pixmaps/abricotine.png"
+ install -Dm644 "../abricotine.desktop" -t "${pkgdir}/usr/share/applications/"
+ install -Dm644 "icons/abricotine@2x.png" "${pkgdir}/usr/share/pixmaps/abricotine.png"
}