summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuca Capezzuto2019-05-23 17:44:11 +0100
committerLuca Capezzuto2019-05-23 17:51:33 +0100
commitc38af2921e6c965a6529f5329e53b17e1a658f06 (patch)
treeb9356a567d6b23cee48ada4ad4028facd7ad9d87
parentb353d9a0ed3e2c358c774952d57d0f884d7ba206 (diff)
downloadaur-c38af2921e6c965a6529f5329e53b17e1a658f06.tar.gz
PKGBUILD updated
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD26
2 files changed, 17 insertions, 16 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3415d182a75..0094d0004af 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index f7943e3c33e..4e8bd538dab 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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
}