diff --git a/main/btrfs-assistant/.checksums b/main/btrfs-assistant/.checksums new file mode 100644 index 000000000..ef6e9abaf --- /dev/null +++ b/main/btrfs-assistant/.checksums @@ -0,0 +1 @@ +91199fb5233dd6ca212350ed73f5456d btrfs-assistant-1.6.3.tar.gz diff --git a/main/btrfs-assistant/.pkgfiles b/main/btrfs-assistant/.pkgfiles new file mode 100644 index 000000000..cfd60cd23 --- /dev/null +++ b/main/btrfs-assistant/.pkgfiles @@ -0,0 +1,21 @@ +btrfs-assistant-1.6.3-1 +drwxr-xr-x root/root etc/ +-rw-r--r-- root/root etc/btrfs-assistant.conf.spkgnew +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/btrfs-assistant +-rwxr-xr-x root/root usr/bin/btrfs-assistant-bin +-rwxr-xr-x root/root usr/bin/btrfs-assistant-launcher +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/applications/ +-rw-r--r-- root/root usr/share/applications/btrfs-assistant.desktop +drwxr-xr-x root/root usr/share/icons/ +drwxr-xr-x root/root usr/share/icons/hicolor/ +drwxr-xr-x root/root usr/share/icons/hicolor/scalable/ +drwxr-xr-x root/root usr/share/icons/hicolor/scalable/apps/ +-rw-r--r-- root/root usr/share/icons/hicolor/scalable/apps/btrfs-assistant.svg +drwxr-xr-x root/root usr/share/metainfo/ +-rw-r--r-- root/root usr/share/metainfo/btrfs-assistant.metainfo.xml +drwxr-xr-x root/root usr/share/polkit-1/ +drwxr-xr-x root/root usr/share/polkit-1/actions/ +-rw-r--r-- root/root usr/share/polkit-1/actions/org.btrfs-assistant.pkexec.policy diff --git a/main/btrfs-assistant/spkgbuild b/main/btrfs-assistant/spkgbuild new file mode 100644 index 000000000..72f25ab41 --- /dev/null +++ b/main/btrfs-assistant/spkgbuild @@ -0,0 +1,17 @@ +# description : An application for managing BTRFS subvolumes and Snapper snapshots +# homepage : https://gitlab.com/btrfs-assistant/btrfs-assistant +# depends : cmake qt5 polkit util-linux btrfs-progs diffutils +# optional : snapper + +name=btrfs-assistant +version=1.6.3 +release=1 +source="https://gitlab.com/$name/$name/-/archive/$version/$name-$version.tar.gz" +backup="etc/btrfs-assistant.conf" + +build() { + + cmake -B build -S $name-$version -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE='Release' + make -C build + make -C build DESTDIR=$PKG install +}