diff options
author | Shatur95 | 2020-06-07 19:53:53 +0300 |
---|---|---|
committer | Shatur95 | 2020-06-07 19:53:53 +0300 |
commit | d2ebafaa9f28c45e24ecb6e3ae672fe8aa060f31 (patch) | |
tree | d5710999573a14428c1409604be3ad01a4db8206 /PKGBUILD | |
parent | da92ab28ac2833e72568764cf6c96442d01bbab5 (diff) | |
download | aur-d2ebafaa9f28c45e24ecb6e3ae672fe8aa060f31.tar.gz |
Fix formatting
Diffstat (limited to 'PKGBUILD')
-rwxr-xr-x | PKGBUILD | 36 |
1 files changed, 18 insertions, 18 deletions
@@ -19,39 +19,39 @@ sha256sums=(SKIP) if [ $_plasma == true ] then - depends+=(knotifications kiconthemes) + depends+=(knotifications kiconthemes) fi pkgver() { - cd ${pkgname%-git} - git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' + cd ${pkgname%-git} + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } # Clone submodules prepare() { - cd ${pkgname%-git} + cd ${pkgname%-git} - git submodule init - git submodule update + git submodule init + git submodule update } build() { - mkdir -p ${pkgname%-git}/build - cd ${pkgname%-git}/build + mkdir -p ${pkgname%-git}/build + cd ${pkgname%-git}/build - if [ $_plasma == true ] - then - cmake -D CMAKE_INSTALL_PREFIX="$pkgdir/usr" -D PLASMA=ON .. - else - cmake -D CMAKE_INSTALL_PREFIX="$pkgdir/usr" .. - fi + if [ $_plasma == true ] + then + cmake -D CMAKE_INSTALL_PREFIX="$pkgdir/usr" -D PLASMA=ON .. + else + cmake -D CMAKE_INSTALL_PREFIX="$pkgdir/usr" .. + fi - cmake --build . + cmake --build . } package() { - cd ${pkgname%-git}/build + cd ${pkgname%-git}/build - cmake --install . - rm -f "${pkgdir}/usr/share/icons/hicolor/icon-theme.cache" + cmake --install . + rm -f "${pkgdir}/usr/share/icons/hicolor/icon-theme.cache" } |