update PKGBUILD as per commenst

i have removed unnecessary as per comments
This commit is contained in:
Bipin Kumar 2022-11-03 09:28:16 +05:30 committed by GitHub
parent a3df30ea7c
commit 9ba1a9b50d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,7 +20,7 @@ prepare() {
} }
build() { build() {
cd "$srcdir"/diamond-$pkgver/build || exit 1 cd "$srcdir"/diamond-$pkgver/build
cmake \ cmake \
-DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_PREFIX=/usr \
@ -31,7 +31,7 @@ build() {
} }
package() { package() {
cd "$srcdir"/diamond-$pkgver/build || exit 1 cd "$srcdir"/diamond-$pkgver/build
# shellcheck disable=2154 # shellcheck disable=2154
make DESTDIR="$pkgdir" install make DESTDIR="$pkgdir" install