summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxim Baz2018-11-08 01:59:03 +0100
committerMaxim Baz2018-11-08 01:59:03 +0100
commitfe7c2f84b7c09c54ac867bab6f43353fa348a750 (patch)
tree0b7d849eb1ed9fc38c645b296aec384fe97c0b64
parent8f26d857f66488b133c0c01cdfb267fdbec2a171 (diff)
downloadaur-fe7c2f84b7c09c54ac867bab6f43353fa348a750.tar.gz
rmtrash: remove .install file, cleanup
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD6
-rw-r--r--rmtrash.install19
3 files changed, 3 insertions, 26 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 65625bed5c4..a9de5b73c00 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,12 +3,10 @@ pkgbase = rmtrash
pkgver = 1.12
pkgrel = 1
url = https://github.com/PhrozenByte/rmtrash
- install = rmtrash.install
- arch = x86_64
+ arch = any
license = GPL
depends = trash-cli
source = rmtrash-1.12.tar.gz::https://github.com/PhrozenByte/rmtrash/archive/v1.12.tar.gz
- validpgpkeys = EB4F9E5A60D32232BB52150C12C87A28FEAC6B20
sha256sums = 23a39883c2706a105ba291b3eaf0d10119f40aedfd58abe2b302ec2c97280353
pkgname = rmtrash
diff --git a/PKGBUILD b/PKGBUILD
index ce9bf561d63..684b7a5ce0e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,17 +4,15 @@ pkgname=rmtrash
pkgver=1.12
pkgrel=1
pkgdesc='trash-put made compatible to GNUs rm and rmdir'
-arch=('x86_64')
+arch=('any')
url='https://github.com/PhrozenByte/rmtrash'
license=('GPL')
depends=('trash-cli')
-install='rmtrash.install'
source=("$pkgname-$pkgver.tar.gz::https://github.com/PhrozenByte/rmtrash/archive/v$pkgver.tar.gz")
sha256sums=('23a39883c2706a105ba291b3eaf0d10119f40aedfd58abe2b302ec2c97280353')
-validpgpkeys=('EB4F9E5A60D32232BB52150C12C87A28FEAC6B20')
package() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$pkgname-$pkgver"
install -Dm755 -t "$pkgdir/usr/bin" rmtrash
install -Dm755 -t "$pkgdir/usr/bin" rmdirtrash
}
diff --git a/rmtrash.install b/rmtrash.install
deleted file mode 100644
index 8200173a5ef..00000000000
--- a/rmtrash.install
+++ /dev/null
@@ -1,19 +0,0 @@
-post_install() {
- echo
- echo " It is very convenient to create the following aliases:"
- echo
- echo " alias rm='rmtrash'"
- echo " alias rmdir='rmdirtrash'"
- echo " alias sudo='sudo '"
- echo
-}
-
-post_remove() {
- echo
- echo " Make sure to delete the following aliases if you created them:"
- echo
- echo " alias rm='rmtrash'"
- echo " alias rmdir='rmdirtrash'"
- echo " alias sudo='sudo '"
- echo
-}