diff options
author | raziman | 2020-08-23 11:42:44 +0800 |
---|---|---|
committer | raziman | 2020-08-23 11:43:28 +0800 |
commit | a92c27d4e60aae5be062cab75e548a1ee07dbf8b (patch) | |
tree | 7e9e00dace29a683adb32442f456d1a6359a377c | |
parent | abd13272a765815a2f505de57503384d5cb72b63 (diff) | |
download | aur-a92c27d4e60aae5be062cab75e548a1ee07dbf8b.tar.gz |
add checksum and change source
add checksum and change source file
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 14 |
2 files changed, 8 insertions, 12 deletions
@@ -1,6 +1,6 @@ pkgbase = gomu pkgdesc = Terminal User Interface (TUI) Music Player - pkgver = v1.5.5 + pkgver = 1.5.5 pkgrel = 2 url = https://github.com/issadarkthing/gomu arch = x86_64 @@ -13,8 +13,8 @@ pkgbase = gomu optdepends = fzf conflicts = gomu-git conflicts = gomu-bin - source = git://github.com/issadarkthing/gomu.git - md5sums = SKIP + source = gomu-1.5.5.tar.gz::https://github.com/issadarkthing/gomu/archive/v1.5.5.tar.gz + md5sums = 0c386dac1666fbb0d26738686f1e0198 pkgname = gomu @@ -1,6 +1,6 @@ # Maintainer: Raziman Mahathir <raziman.mahathir@gmail.com> pkgname='gomu' -pkgver=v1.5.5 +pkgver=1.5.5 pkgrel=2 pkgdesc="Terminal User Interface (TUI) Music Player" arch=('x86_64') @@ -11,20 +11,16 @@ depends=('alsa-lib' 'youtube-dl' 'noto-fonts-emoji') makedepends=('go' 'git') optdepends=('fzf') conflicts=('gomu-git' 'gomu-bin') -source=("git://github.com/issadarkthing/gomu.git") -md5sums=('SKIP') +source=("$pkgname-$pkgver.tar.gz::https://github.com/issadarkthing/$pkgname/archive/v$pkgver.tar.gz") +md5sums=('0c386dac1666fbb0d26738686f1e0198') -pkgver() { - cd "$pkgname" - git describe --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' -} build() { - cd "$pkgname" + cd "$pkgname-$pkgver" make build } package() { - cd "$pkgname" + cd "$pkgname-$pkgver" install -Dm755 ./bin/gomu "$pkgdir/usr/bin/gomu" } |