diff options
author | Thomas Letan | 2023-04-30 13:38:27 +0200 |
---|---|---|
committer | Thomas Letan | 2023-04-30 13:38:27 +0200 |
commit | cfb1335baa98a4396433fde7d6568f30fbd1e320 (patch) | |
tree | 0560d8c3d72d70b580439402b10c837eb413758c | |
parent | 0de3e8243eed5b575afe6e3c4beddc44371fff36 (diff) | |
download | aur-cfb1335baa98a4396433fde7d6568f30fbd1e320.tar.gz |
Do not opam init if $HOME/.opam/config already exists
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 4 |
3 files changed, 7 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = spatial-shell pkgdesc = Implementing a spatial model inspired by Material Shell and Paper WM, for Sway. pkgver = 1 - pkgrel = 3 + pkgrel = 4 url = https://github.com/lthms/spatial-shell arch = x86_64 license = MPL2 diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..1dd2c2fa1e91 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +pkg/ +src/ +spatial-shell-*-*-x86_64.pkg.tar.zst +spatial-shell-*.tar.gz @@ -2,7 +2,7 @@ pkgname=spatial-shell pkgver=1 -pkgrel=3 +pkgrel=4 pkgdesc='Implementing a spatial model inspired by Material Shell and Paper WM, for Sway.' url=https://github.com/lthms/spatial-shell license=('MPL2') @@ -28,7 +28,7 @@ sha512sums=( ) prepare() { - opam init -n + [ -f "${HOME}/.opam/config" ] || opam init -n cd "${srcdir}/${pkgname}-${pkgver}" patch -p1 -i "${srcdir}/destdir.patch" } |