summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMoviuro2019-04-19 23:36:26 +0200
committerMoviuro2019-04-19 23:36:26 +0200
commitea38d8263773e7c22fa92faaad806cf6a0842dd1 (patch)
tree921bb19acb12252d34331b62b61c723a6e97fd55
parent9b25911deaadba7bfe7bf5668807aef00b94176e (diff)
downloadaur-ea38d8263773e7c22fa92faaad806cf6a0842dd1.tar.gz
factorio-dl.install: instructions for makepkg.conf(5)
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
-rw-r--r--factorio-dl.install3
3 files changed, 7 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 278dfa633b0e..8c09a00c2462 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = factorio-dl
pkgdesc = Factorio downloader script for UNIX(-like) systems
pkgver = 0.1.3
- pkgrel = 1
+ pkgrel = 2
url = https://gitlab.com/moviuro/factorio-dl
install = factorio-dl.install
arch = any
@@ -10,7 +10,7 @@ pkgbase = factorio-dl
source = factorio-dl-0.1.3.tar.gz::https://gitlab.com/moviuro/factorio-dl/repository/0.1.3/archive.tar.gz
source = factorio-dl.install
sha256sums = 0d6f806b8240463f91455d1647dfb9dd1aa319b2f5d1bfce386b3f6ac36f5585
- sha256sums = ae4ea5d2a613364ee7884a39c5a9e032ff7fa175b5cfb4182abf83261086ce89
+ sha256sums = 1a44e9c458d2a31686ec0371432c631883be6807ed29b68e80aee59d88a48137
pkgname = factorio-dl
diff --git a/PKGBUILD b/PKGBUILD
index 5a19b906247e..13d3368a8d8c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=factorio-dl
pkgver=0.1.3
-pkgrel=1
+pkgrel=2
_commit="cda4cfbbae25f7d05284d34e840ca7f8141ebea8"
pkgdesc="Factorio downloader script for UNIX(-like) systems"
arch=('any')
@@ -16,7 +16,7 @@ url="https://gitlab.com/moviuro/${pkgname}"
source=("${pkgname}-${pkgver}.tar.gz::https://gitlab.com/moviuro/${pkgname}/repository/${pkgver}/archive.tar.gz"
"${pkgname}.install")
sha256sums=('0d6f806b8240463f91455d1647dfb9dd1aa319b2f5d1bfce386b3f6ac36f5585'
- 'ae4ea5d2a613364ee7884a39c5a9e032ff7fa175b5cfb4182abf83261086ce89')
+ '1a44e9c458d2a31686ec0371432c631883be6807ed29b68e80aee59d88a48137')
package() {
install -Dm 555 "${srcdir}/${pkgname}-${pkgver}-${_commit}/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
diff --git a/factorio-dl.install b/factorio-dl.install
index f2ccaaa356b0..b39693c71fa0 100644
--- a/factorio-dl.install
+++ b/factorio-dl.install
@@ -15,6 +15,9 @@ yellow="${bold}$(tput setaf 3)"
post_install() {
note "Make sure to read the README.md file to add the factorio DL agent to makepkg.conf(5)"
+ printf '%s\n' " DLAGENTS=([...]" \
+ "+ 'factorio::/usr/bin/factorio-dl -t linux64 -o %o %u'"\
+ " [...])"
}
post_remove() {