summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChocobo12017-08-12 14:52:00 +0800
committerChocobo12017-08-12 14:52:00 +0800
commit0c5034511b7904087f32607cc953b97f481a7510 (patch)
treed872733feb0ea95f57b07f4a087c9f6a36e26d0f
parentf495c71e66a02a295582c644cbf3a568c7ddedb0 (diff)
downloadaur-0c5034511b7904087f32607cc953b97f481a7510.tar.gz
Switch function order
-rw-r--r--PKGBUILD12
1 files changed, 6 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index c173a621ba0..48a71eb465e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -16,12 +16,6 @@ source=("git+https://github.com/facebook/wdt.git")
sha256sums=('SKIP')
-pkgver() {
- cd "wdt"
-
- git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
-}
-
prepare() {
cd "$srcdir"
rm -rf "folly"
@@ -33,6 +27,12 @@ prepare() {
mkdir -p "_build"
}
+pkgver() {
+ cd "wdt"
+
+ git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
build() {
cd "$srcdir/wdt/_build"