diff options
author | Brett Cornwall | 2019-12-08 15:12:26 -0800 |
---|---|---|
committer | Brett Cornwall | 2019-12-08 15:12:26 -0800 |
commit | 3bd1eaf115df680f6232e4a329d00674f83964bc (patch) | |
tree | d2dcf15c31f60929a3e2855c3c9508540e20c935 | |
download | aur-3bd1eaf115df680f6232e4a329d00674f83964bc.tar.gz |
initial
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 35 |
2 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..255e7977f64c --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = lazy-ips + pkgdesc = IPS patcher for Linux + pkgver = 20191208 + pkgrel = 1 + url = https://github.com/btimofeev/lazy_ips + arch = any + license = GPL3 + makedepends = python-setuptools + makedepends = gendesk + depends = python-gobject + source = lazy-ips-20191208.tar.gz::https://github.com/btimofeev/lazy_ips/archive/v20191208.tar.gz + sha256sums = 24c8cc95aaaa72019d43ded7df3abc62669545839f61b5643cfb13a508a2cc03 + +pkgname = lazy-ips + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..2ebc0fa86488 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Brett Cornwall <ainola@archlinux.org> + +pkgname=lazy-ips +pkgver=20191208 +pkgrel=1 +pkgdesc="IPS patcher for Linux" +arch=('any') +url="https://github.com/btimofeev/lazy_ips" +license=('GPL3') +depends=('python-gobject') +makedepends=('python-setuptools' 'gendesk') +source=("$pkgname-$pkgver.tar.gz::https://github.com/btimofeev/lazy_ips/archive/v$pkgver.tar.gz") +sha256sums=('24c8cc95aaaa72019d43ded7df3abc62669545839f61b5643cfb13a508a2cc03') + +prepare() { + gendesk -n \ + --name="Lazy IPS" \ + --pkgname="$pkgname" \ + --pkgdesc="$pkgdesc" \ + --exec=/usr/bin/lazy-ips \ + --categories='Utility;FileTools' +} + +build () { + cd "lazy_ips-$pkgver" + python setup.py build +} + +package() { + cd "lazy_ips-$pkgver" + python setup.py install --root="$pkgdir/" --optimize=1 --skip-build + + install -Dm644 "../lazy-ips.desktop" -t "$pkgdir/usr/share/applications/" + install -Dm644 README.md -t "$pkgdir/usr/share/doc/lazy-ips" +} |