diff options
author | Chocobo1 | 2016-03-16 07:55:13 +0800 |
---|---|---|
committer | Chocobo1 | 2016-03-16 07:55:13 +0800 |
commit | 240a825fb2fbc5254e9f0a5d4be07acb88c1992a (patch) | |
tree | bab909f6df0e6ab5f54478dfcc31b0cba21c7c73 | |
parent | 644f13bf35d45f587ad039178b3c7ec89c5d3dbc (diff) | |
download | aur-240a825fb2fbc5254e9f0a5d4be07acb88c1992a.tar.gz |
Change indention
-rw-r--r-- | PKGBUILD | 20 | ||||
-rw-r--r-- | chewing-editor.install | 8 |
2 files changed, 14 insertions, 14 deletions
@@ -14,27 +14,27 @@ source=("https://github.com/chewing/$pkgname/archive/$pkgver.tar.gz") sha256sums=('1ce0a98d7cbabe3d03d8dcc9bd1b0a05b8dd37d069b60cbf83bd4cef99939367') prepare() { - cd "$srcdir/$pkgname-$pkgver" + cd "$srcdir/$pkgname-$pkgver" - mkdir build + mkdir build } build() { - cd "$srcdir/$pkgname-$pkgver/build" + cd "$srcdir/$pkgname-$pkgver/build" - cmake ../ -DCMAKE_INSTALL_PREFIX='/usr' - make + cmake ../ -DCMAKE_INSTALL_PREFIX='/usr' + make } check() { - cd "$srcdir/$pkgname-$pkgver/build" + cd "$srcdir/$pkgname-$pkgver/build" - ./run-test + ./run-test } package() { - cd "$srcdir/$pkgname-$pkgver/build" + cd "$srcdir/$pkgname-$pkgver/build" - make DESTDIR="$pkgdir" install - install -Dm644 ../COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" + make DESTDIR="$pkgdir" install + install -Dm644 ../COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" } diff --git a/chewing-editor.install b/chewing-editor.install index 5c501dc49916..5495fb1b5d27 100644 --- a/chewing-editor.install +++ b/chewing-editor.install @@ -1,12 +1,12 @@ post_install() { - xdg-icon-resource forceupdate --theme hicolor &> /dev/null - update-desktop-database -q + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + update-desktop-database -q } post_upgrade() { - post_install + post_install } post_remove() { - post_install + post_install } |