summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMaxim Baz2017-11-16 20:18:11 +0100
committerMaxim Baz2017-11-16 20:18:11 +0100
commit0d4cda97e338005b3999d7dd3e760af78559a250 (patch)
treef1886e94917536ff6a449b69ad1d7009870a3b91 /PKGBUILD
downloadaur-0d4cda97e338005b3999d7dd3e760af78559a250.tar.gz
Create package
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD17
1 files changed, 17 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..47f8b384463
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,17 @@
+pkgname=rmtrash
+pkgver=1.12
+pkgrel=1
+pkgdesc='trash-put made compatible to GNUs rm and rmdir'
+arch=('i686' 'x86_64')
+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')
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ install -D rmtrash "$pkgdir/usr/bin/rmtrash"
+ install -D rmdirtrash "$pkgdir/usr/bin/rmdirtrash"
+}