diff options
author | Ankit R Gadiya | 2018-03-01 00:11:22 +0530 |
---|---|---|
committer | Ankit R Gadiya | 2018-03-01 00:11:22 +0530 |
commit | 6fd231477db13339b61d660feab765351fb22a9c (patch) | |
tree | 76192ce0f0de3a87d832eaec1d7cc3ae6b61d825 | |
parent | b5a320c50fd4596412849be0ceb55da12473405d (diff) | |
download | aur-6fd231477db13339b61d660feab765351fb22a9c.tar.gz |
Changed source url to release page, and updated functions
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 22 |
2 files changed, 11 insertions, 18 deletions
@@ -1,13 +1,12 @@ pkgbase = sbm pkgdesc = simple bandwidth monitor pkgver = 0.9 - pkgrel = 1 + pkgrel = 2 url = http://git.2f30.org/sbm arch = x86_64 license = custom:MIT/X Consortium - makedepends = git - source = git://git.2f30.org/sbm.git - sha512sums = SKIP + source = https://dl.2f30.org/releases/sbm-0.9.tar.gz + sha512sums = a77e3e39113380f83e01b3999aee7e4be0c3758b50e11eac4f874807e65ae096b51b0a037b5556635386e204e92bf0f255bd8ee24debf3d1f266a480e4bfa520 pkgname = sbm @@ -2,28 +2,22 @@ pkgname='sbm' pkgver=0.9 -pkgrel=1 +pkgrel=2 pkgdesc="simple bandwidth monitor" url="http://git.2f30.org/sbm" license=('custom:MIT/X Consortium') -source=("git://git.2f30.org/sbm.git") -sha512sums=('SKIP') +source=("https://dl.2f30.org/releases/${pkgname}-${pkgver}.tar.gz") +sha512sums=('a77e3e39113380f83e01b3999aee7e4be0c3758b50e11eac4f874807e65ae096b51b0a037b5556635386e204e92bf0f255bd8ee24debf3d1f266a480e4bfa520') arch=('x86_64') -makedepends=('git') - -prepare() { - cd "${pkgname}" - git checkout "${pkgver}" -} build() { - cd "${pkgname}" - make + cd "${pkgname}-${pkgver}" + make } package() { - cd "${pkgname}" - make DESTDIR="${pkgdir}" PREFIX="/usr" install + cd "${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" PREFIX="/usr" install - install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } |