summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorZach2021-01-27 21:42:12 -0600
committerZach2021-01-27 21:42:12 -0600
commit11a9cf4c7b56778f111022fa3955f1c6a5f856e8 (patch)
treeb406589839068c2f1a817e0d02c03282e02dcffe
parentd8722f86999e467aec5ed094010ab96151f3d4eb (diff)
downloadaur-11a9cf4c7b56778f111022fa3955f1c6a5f856e8.tar.gz
fixes to accommodate recent changes to build process
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD9
2 files changed, 6 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1dfc72985c2..b5578259323 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = chromium-extension-augmented-steam-git
pkgdesc = Chrome/Chromium extension for Augmented Steam - git/dev
- pkgver = v1.4.5.r449.g2eb093ed
+ pkgver = v1.4.5.r500.g433a748a
pkgrel = 1
url = https://github.com/tfedor/AugmentedSteam
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index 3b603db01c3..8fee898b222 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgsubn=AugmentedSteam
pkgname=chromium-extension-augmented-steam-git
-pkgver=v1.4.5.r449.g2eb093ed
+pkgver=v1.4.5.r500.g433a748a
pkgrel=1
pkgdesc="Chrome/Chromium extension for Augmented Steam - git/dev"
arch=('any')
@@ -23,13 +23,14 @@ pkgver() {
}
build() {
- cp "config.js" "${srcdir}/${pkgsubn}/src/js/config.js"
+ #cp "config.js" "${srcdir}/${pkgsubn}/src/js/config.js"
cd "${srcdir}/${pkgsubn}"
+ npm install
+ npm run build chrome -- --production
}
package() {
mkdir -p "${pkgdir}/usr/share/${pkgname}"
shopt -s dotglob
- cp -dr --no-preserve=ownership "${srcdir}/${pkgsubn}/"/* "${pkgdir}/usr/share/${pkgname}"
- cp -d --no-preserve=ownership "${pkgdir}/usr/share/${pkgname}/config/manifests/manifest_chrome.json" "${pkgdir}/usr/share/${pkgname}/manifest.json"
+ cp -dr --no-preserve=ownership "${srcdir}/${pkgsubn}/dist/prod.chrome"/* "${pkgdir}/usr/share/${pkgname}"
} \ No newline at end of file