summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrett Cornwall2019-12-08 15:12:26 -0800
committerBrett Cornwall2019-12-08 15:12:26 -0800
commit3bd1eaf115df680f6232e4a329d00674f83964bc (patch)
treed2dcf15c31f60929a3e2855c3c9508540e20c935
downloadaur-3bd1eaf115df680f6232e4a329d00674f83964bc.tar.gz
initial
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD35
2 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..255e7977f64
--- /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 00000000000..2ebc0fa8648
--- /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"
+}