diff options
author | Michel Zou | 2024-05-10 18:04:22 +0200 |
---|---|---|
committer | Michel Zou | 2024-05-10 18:04:22 +0200 |
commit | c48d9bf9a9df88cb540f506fcedf8b6adcca0d41 (patch) | |
tree | 43ff034e867550e13c3b33d31d46b80897d607f4 /PKGBUILD | |
parent | 01cd411d0b5296e4a9ccfdac9097eb604c025c9b (diff) | |
download | aur-hmat-oss.tar.gz |
Werror
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -10,6 +10,11 @@ makedepends=('cmake') source=("https://github.com/jeromerobert/hmat-oss/archive/${pkgver}.tar.gz") sha256sums=('f45e71d1c4de157071adce36642239aa8e2b63e08caa85f59cf656519993ace1') +prepare() { + cd $pkgname-$pkgver + sed -i "s|-Werror||g" CMakeLists.txt +} + build() { cd $pkgname-$pkgver cmake -DHMAT_GIT_VERSION=OFF -DCMAKE_INSTALL_PREFIX=/usr . |