summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorfmenning902017-01-03 11:59:56 +0100
committerfmenning902017-01-03 11:59:56 +0100
commit677f35865a4bba3f3d916a83120c20638680a472 (patch)
tree62c0cc803ec106a427e481e51b5921af4c549141 /PKGBUILD
downloadaur-677f35865a4bba3f3d916a83120c20638680a472.tar.gz
first commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..a2cfefff0ec
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Francois Menning <f.menning@protonmail.com>
+
+_pkgname=cleanerml
+pkgname=cleanerml-git
+pkgver=r483.c1ba548
+pkgrel=1
+pkgdesc='System cleaners written in CleanerML used by BleachBit.'
+url='https://github.com/az0/cleanerml'
+license=('GPL3')
+source=('git://github.com/az0/cleanerml.git')
+sha256sums=('SKIP')
+arch=('any')
+depends=('bleachbit')
+conflicts=('cleanerml')
+provides=('cleanerml')
+
+pkgver() {
+ cd "${srcdir}/${_pkgname}"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+package() {
+ mkdir -p "${pkgdir}/usr/share/bleachbit/cleaners"
+ cp -r ${srcdir}/${_pkgname}/release/*.xml "${pkgdir}/usr/share/bleachbit/cleaners"
+
+ # duplicate entries
+ rm -rf "${pkgdir}/usr/share/bleachbit/cleaners/wine.xml"
+}