diff options
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -14,7 +14,6 @@ optdepends=('hyphen: Auto-hyphenation support' 'dictd: Offline dictionary support' 'festival: Text-to-speech support; also voice package needed' 'espeak-ng: Text-to-speech support; also voice package needed') -#source=(https://github.com/johnfactotum/${pkgname}/archive/${pkgver}.tar.gz) source=($pkgname::git+https://github.com/johnfactotum/$pkgname.git) provides=($pkgname) conflicts=($pkgname-git) @@ -22,13 +21,12 @@ sha256sums=('SKIP') pkgver() { cd $srcdir/$pkgname - git describe --tags + git describe --tags | sed -r 's/('$pkgver').+/\1/' } build() { cd $srcdir/$pkgname - git checkout -b $pkgver - git pull origin $pkgver + git checkout tags/$pkgver meson build --prefix=/usr ninja -C build } |