summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1ca0a349b982a1a95ae20f6d81e380a01dc4a136 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Maintainer: James W. Barnett <james at wbarnett dot us>

pkgname=grub-btrfs
pkgver=1.10
pkgrel=1
pkgdesc="grub-btrfs, Include btrfs snapshots at boot options. (grub menu)"
arch=('any')
url="https://github.com/Antynea/grub-btrfs"
license=('GPL3')
depends=('btrfs-progs' 'grub')
conflicts=('grub-btrfs-git')
source=("https://github.com/Antynea/grub-btrfs/archive/v${pkgver}.tar.gz")
md5sums=('84b856c826a468b6bc235111daf7801e')

package() {
  cd $pkgname-$pkgver
  install -Dm 755 "41_snapshots-btrfs" "${pkgdir}/etc/grub.d/41_snapshots-btrfs"
  install -Dm 644 "localisation/fr/grub-btrfs-git.mo" "${pkgdir}/usr/share/locale/fr/LC_MESSAGES/grub-btrfs-git.mo"
}