diff options
author | Gavin Lloyd | 2015-06-09 17:21:37 -0700 |
---|---|---|
committer | Gavin Lloyd | 2015-06-09 17:21:37 -0700 |
commit | 0dc98d464fec6bff318fe4b6ec6b880a942194ce (patch) | |
tree | 133726fb45046c1a7ec9a136092d04d217b8839a | |
download | aur-0dc98d464fec6bff318fe4b6ec6b880a942194ce.tar.gz |
Init commit
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 27 |
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..32e47ebad27b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = physlock-git + pkgdesc = lightweight linux console locking tool (Git version) + pkgver = 0.67.v0.4.4.7.g568a46e + pkgrel = 1 + url = https://github.com/muennich/physlock + arch = i686 + arch = x86_64 + license = GPL + conflicts = physlock + source = physlock-git::git+https://github.com/muennich/physlock.git#branch=master + md5sums = SKIP + +pkgname = physlock-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..6794c8ca4c4a --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Gavin Lloyd <gavinhungry@gmail.com> + +pkgname=physlock-git +pkgver=0.67.v0.4.4.7.g568a46e +pkgrel=1 +pkgdesc="lightweight linux console locking tool (Git version)" +arch=('i686' 'x86_64') +license=('GPL') +url='https://github.com/muennich/physlock' +conflicts=('physlock') +source=("${pkgname}::git+https://github.com/muennich/physlock.git#branch=master") +md5sums=('SKIP') + +pkgver () { + cd "${srcdir}/${pkgname}" + echo "0.$(git rev-list --count HEAD).$(git describe --always | sed 's|-|.|g')" +} + +build() { + cd "${srcdir}/${pkgname}" + make +} + +package() { + cd "${srcdir}/${pkgname}" + make PREFIX=${pkgdir}/usr install +} |