summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorsurefire2019-01-12 08:24:07 +0300
committersurefire2019-01-12 08:24:07 +0300
commitc35d0b2a528287c11e20ce9dbc9ea6fdf831d958 (patch)
tree080fb2fac943b62e5e485766f4e10b6afeee7623 /PKGBUILD
parentc172fefcbb78897efb69b41335d9f8e2f2ce4f02 (diff)
downloadaur-c35d0b2a528287c11e20ce9dbc9ea6fdf831d958.tar.gz
Use git
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD11
1 files changed, 6 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 4d1ca9f4f7e..a144db7a0c1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,25 +10,26 @@ license=('MIT')
depends=('electron')
makedepends=(
'asar'
+ 'git'
'npm'
'libsass'
)
optdepends=('xdotool: for auto-type')
conflicts=('keeweb-desktop')
source=(
- "https://github.com/keeweb/keeweb/archive/v${pkgver}.tar.gz"
+ "${pkgname}::git+https://github.com/keeweb/keeweb.git#tag=v${pkgver}"
'hide-menubar.patch'
'keeweb.sh'
'package.json.patch.js'
)
-sha1sums=('2526922e7f872cb17a775321b55788d1c5d48854'
+sha1sums=('SKIP'
'a55c2ed276c6073b7954452cdc88209633d51ace'
'a2ab033d06abfe7616d2615d8edf7931f29efc96'
'6fef823604bfeac45bc6aa830c1f129c15a80fcf')
prepare() {
- cd "${pkgname}-${pkgver}"
+ cd "${pkgname}"
patch -Np1 -i ../hide-menubar.patch
@@ -50,7 +51,7 @@ prepare() {
}
build() {
- cd "${pkgname}-${pkgver}"
+ cd "${pkgname}"
export SKIP_SASS_BINARY_DOWNLOAD_FOR_CI=1
export LIBSASS_EXT=auto
@@ -65,7 +66,7 @@ build() {
}
package() {
- cd "${pkgname}-${pkgver}"
+ cd "${pkgname}"
install -Dm0755 ../keeweb.sh "${pkgdir}/usr/bin/keeweb"
install -Dm0644 -t "${pkgdir}/usr/lib/keeweb" ../keeweb.asar