summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenzo Castelli <lcastelli@gmail.com>2020-04-18 16:59:50 -0700
committerLorenzo Castelli <lcastelli@gmail.com>2020-04-18 16:59:50 -0700
commite1ee569e6cba58531ee25f1efffb5c78d05ca4ad (patch)
treef20653585d4aa234339dc6913167c32fc9cebe8b
parent55fee23d3a4a2a02141c752a8d12d4fdd369e455 (diff)
downloadgoogle-compute-engine-oslogin-e1ee569e6cba58531ee25f1efffb5c78d05ca4ad.tar.xz
Fixes up systemd configuration.
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD15
2 files changed, 12 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 82c6097..4a591fd 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = google-compute-engine-oslogin
pkgdesc = Google Compute Engine OS login support
- pkgver = 20200325
+ pkgver = 20200325.00
pkgrel = 1
url = https://github.com/GoogleCloudPlatform/guest-oslogin
arch = x86_64
@@ -8,8 +8,8 @@ pkgbase = google-compute-engine-oslogin
depends = curl
depends = json-c
depends = pam
- source = google-compute-engine-oslogin-20200325.tar.gz::https://github.com/GoogleCloudPlatform/guest-oslogin/archive/1eca1d61245dbb1b24be23a4fb75e98b56aaeb6a.tar.gz
- sha256sums = c7c19993b86d9820c0e4d981ab84c3fde201ae6b5f54e20b37c059735f15fd1c
+ source = google-compute-engine-oslogin-20200325.00.tar.gz::https://github.com/GoogleCloudPlatform/guest-oslogin/archive/20200325.00.tar.gz
+ sha256sums = 6291198dad14bcad4c3e34a52acf3a5631ed005e7366e0eb5f4069a59afe82a2
pkgname = google-compute-engine-oslogin
diff --git a/PKGBUILD b/PKGBUILD
index deefeee..fcf1d05 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -16,23 +16,26 @@
# Maintainer: Samuel Littley <samuellittley@google.com>
pkgname='google-compute-engine-oslogin'
-pkgver=20200325
-_commit='1eca1d61245dbb1b24be23a4fb75e98b56aaeb6a'
+pkgver=20200325.00
pkgrel=1
pkgdesc='Google Compute Engine OS login support'
arch=('x86_64')
url='https://github.com/GoogleCloudPlatform/guest-oslogin'
license=('Apache')
depends=('curl' 'json-c' 'pam')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/GoogleCloudPlatform/guest-oslogin/archive/$_commit.tar.gz")
-sha256sums=('c7c19993b86d9820c0e4d981ab84c3fde201ae6b5f54e20b37c059735f15fd1c')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/GoogleCloudPlatform/guest-oslogin/archive/$pkgver.tar.gz")
+sha256sums=('6291198dad14bcad4c3e34a52acf3a5631ed005e7366e0eb5f4069a59afe82a2')
build() {
- cd "guest-oslogin-$_commit"
+ cd "guest-oslogin-$pkgver"
make
}
package() {
- cd "guest-oslogin-$_commit"
+ cd "guest-oslogin-$pkgver"
make DESTDIR="$pkgdir/" install
+
+ mkdir -p "$pkgdir/usr/lib/systemd"
+ mv "$pkgdir"/{,usr/}lib/systemd/system
+ rm -r "$pkgdir/lib"
}