summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 39757d81b09debb8f4e916b786909116da869ce4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: James Harvey <jamespharvey20@gmail.com>
# * Namcap warns that dependency rdma is not needed, but ipoibmodemtu requires IPoIB, and the IPoIB kernel modules are loaded by the rdma package

pkgname=ipoibmodemtu
pkgver=1.01
pkgrel=1
pkgdesc='Set InfiniBand port modes and MTUs by a systemd service'
arch=('any')
license=('GPL2')
depends=('rdma')
source=('ipoibmodemtu'
        'ipoibmodemtu.conf'
        'ipoibmodemtu.service')
md5sums=('60342c604ff203809ba4ec3fbf859222'
         'd6b768522b287a58f0e8a85cf708a49f'
         'd4c9fe25343431683c0fea468d7551ce')

package() {
  install -Dm755 "${srcdir}/ipoibmodemtu" "${pkgdir}/usr/bin/ipoibmodemtu"
  install -Dm644 "${srcdir}/ipoibmodemtu.conf" "${pkgdir}/etc/ipoibmodemtu.conf"
  install -Dm644 "${srcdir}/ipoibmodemtu.service" "${pkgdir}/usr/lib/systemd/system/ipoibmodemtu.service"
}