diff options
author | Luca Capezzuto | 2019-05-23 17:44:11 +0100 |
---|---|---|
committer | Luca Capezzuto | 2019-05-23 17:51:33 +0100 |
commit | c38af2921e6c965a6529f5329e53b17e1a658f06 (patch) | |
tree | b9356a567d6b23cee48ada4ad4028facd7ad9d87 | |
parent | b353d9a0ed3e2c358c774952d57d0f884d7ba206 (diff) | |
download | aur-c38af2921e6c965a6529f5329e53b17e1a658f06.tar.gz |
PKGBUILD updated
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 17 insertions, 16 deletions
@@ -1,17 +1,16 @@ pkgbase = lain-git pkgdesc = Layouts, asynchronous widgets and utilities for Awesome WM pkgver = 1697.3328e73 - pkgrel = 1 + pkgrel = 2 url = https://github.com/lcpz/lain arch = any license = GPL2 - makedepends = git depends = awesome optdepends = curl: for IMAP, MPD and weather widgets provides = lain conflicts = lain - source = git://github.com/lcpz/lain.git - md5sums = SKIP + source = lain-1697.3328e73.zip::https://github.com/lcpz/lain/archive/3328e738bdc1223583fb98730668dfed24395dfc.zip + sha256sums = SKIP pkgname = lain-git @@ -3,19 +3,23 @@ pkgname=lain-git pkgcom=1697 pkgsha=3328e73 +pkgfullsha="3328e738bdc1223583fb98730668dfed24395dfc" pkgver=$pkgcom.$pkgsha -pkgrel=1 +pkgrel=2 pkgdesc="Layouts, asynchronous widgets and utilities for Awesome WM" -arch=('any') +arch=("any") url="https://github.com/lcpz/lain" -license=('GPL2') -depends=('awesome') -optdepends=('curl: for IMAP, MPD and weather widgets') -makedepends=('git') -provides=('lain') -conflicts=('lain') -source=("git://github.com/lcpz/lain.git") -md5sums=('SKIP') +license=("GPL2") +depends=("awesome") +optdepends=("curl: for IMAP, MPD and weather widgets") +provides=("lain") +conflicts=("lain") +sha256sums=("SKIP") +source=("lain-${pkgver}.zip::https://github.com/lcpz/lain/archive/$pkgsha.zip") + +prepare() { + mv "lain-$pkgsha"* lain +} package() { # check if awesome is stable or git @@ -26,7 +30,5 @@ package() { fi install -dm755 "$aw_path/lain" - git --git-dir=lain/.git --work-tree=lain/ reset --hard $pkgsha --quiet - rm -rf lain/{wiki,.git*,*.rockspec,*TEMPLATE*} cp -a lain $aw_path } |